Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
sha1_name: convert uses of 40 to GIT_SHA1_HEXSZ
[gitweb.git]
/
refs.c
diff --git
a/refs.c
b/refs.c
index 7aae78cb551fd2743982d7f9fc60e6de45df9a11..e1de9251557d6e49d1ce846b1b31b080f0b320d6 100644
(file)
--- a/
refs.c
+++ b/
refs.c
@@
-818,7
+818,7
@@
int read_ref_at(const char *refname, unsigned int flags, timestamp_t at_time, in
for_each_reflog_ent_reverse(refname, read_ref_at_ent, &cb);
if (!cb.reccnt) {
- if (flags & GET_
SHA1
_QUIETLY)
+ if (flags & GET_
OID
_QUIETLY)
exit(128);
else
die("Log for %s is empty.", refname);