Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
refs.c: allow listing and deleting badly named refs
[gitweb.git]
/
builtin
/
commit.c
diff --git
a/builtin/commit.c
b/builtin/commit.c
index a7857ab56092f0144bb259f85d8078ba0531e627..aa0940e38f7f2c4e562956e5cdb184392b7c7661 100644
(file)
--- a/
builtin/commit.c
+++ b/
builtin/commit.c
@@
-1515,7
+1515,7
@@
static void print_summary(const char *prefix, const unsigned char *sha1,
rev.diffopt.break_opt = 0;
diff_setup_done(&rev.diffopt);
- head = resolve_ref_unsafe("HEAD",
junk_sha1, 0
, NULL);
+ head = resolve_ref_unsafe("HEAD",
0, junk_sha1
, NULL);
if (!strcmp(head, "HEAD"))
head = _("detached HEAD");
else