Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
add, reset: ensure submodules can be added or reset
[gitweb.git]
/
refs.c
diff --git
a/refs.c
b/refs.c
index ba22f4acefa262cc1029bcf8360edb21c0635953..4226f9ebf52717154f8d132fbaef42558776aecb 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);