Merge branch 'maint'
authorJunio C Hamano <gitster@pobox.com>
Wed, 16 Dec 2015 22:40:30 +0000 (14:40 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 16 Dec 2015 22:40:30 +0000 (14:40 -0800)
* maint:
  credential-store: don't pass strerror to die_errno()

credential-store.c

index fc67d16..54c4e04 100644 (file)
@@ -64,8 +64,7 @@ static void rewrite_credential_file(const char *fn, struct credential *c,
                print_line(extra);
        parse_credential_file(fn, c, NULL, print_line);
        if (commit_lock_file(&credential_lock) < 0)
-               die_errno("unable to write credential store: %s",
-                         strerror(errno));
+               die_errno("unable to write credential store");
 }
 
 static void store_credential_file(const char *fn, struct credential *c)