Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Fix git update-ref --no-deref -d.
[gitweb.git]
/
sha1_name.c
diff --git
a/sha1_name.c
b/sha1_name.c
index b0b2167578a7baebeba676af0b33161fb688bae0..4fb77f8863ec075de38b84171d3ef039a00cee4c 100644
(file)
--- a/
sha1_name.c
+++ b/
sha1_name.c
@@
-273,7
+273,7
@@
int dwim_log(const char *str, int len, unsigned char *sha1, char **log)
const char *ref, *it;
strcpy(path, mkpath(*p, len, str));
- ref = resolve_ref(path, hash,
0
, NULL);
+ ref = resolve_ref(path, hash,
1
, NULL);
if (!ref)
continue;
if (!stat(git_path("logs/%s", path), &st) &&