Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Rename resolve_ref() to resolve_ref_unsafe()
[gitweb.git]
/
builtin
/
commit.c
diff --git
a/builtin/commit.c
b/builtin/commit.c
index e36e9adf87d76002784eb26107c25e5d91683229..4d39d25109aa7c238246a79bea3d758d9da85026 100644
(file)
--- a/
builtin/commit.c
+++ b/
builtin/commit.c
@@
-1304,7
+1304,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("HEAD", junk_sha1, 0, NULL);
+ head = resolve_ref
_unsafe
("HEAD", junk_sha1, 0, NULL);
printf("[%s%s ",
!prefixcmp(head, "refs/heads/") ?
head + 11 :