Signed-off-by: Elia Pinto <gitter.spi...@gmail.com>
---
 contrib/credential/osxkeychain/git-credential-osxkeychain.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/contrib/credential/osxkeychain/git-credential-osxkeychain.c 
b/contrib/credential/osxkeychain/git-credential-osxkeychain.c
index bcd3f57..5ae09f6 100644
--- a/contrib/credential/osxkeychain/git-credential-osxkeychain.c
+++ b/contrib/credential/osxkeychain/git-credential-osxkeychain.c
@@ -163,12 +163,12 @@ static void read_credential(void)
 
 int main(int argc, const char **argv)
 {
-       const char *usage =
-               "usage: git credential-osxkeychain <get|store|erase>";
-
        if (!argv[1])
+          {
+              const char *usage =
+                       "usage: git credential-osxkeychain <get|store|erase>";
                die(usage);
-
+          }
        read_credential();
 
        if (!strcmp(argv[1], "get"))
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to