diff options
author | Junio C Hamano <junkio@cox.net> | 2007-02-12 23:21:34 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-02-12 23:22:07 -0800 |
commit | acb39f64c6f5f0a3220da787fda9badad9f57554 (patch) | |
tree | c61e6d483ddba74fc3321f9b83448dd1e0d13bd5 | |
parent | 25b51e2c7f6fd220cee2a363297b04a246143372 (diff) | |
download | git-acb39f64c6f5f0a3220da787fda9badad9f57554.tar.gz git-acb39f64c6f5f0a3220da787fda9badad9f57554.tar.xz |
for-each-reflog: not having $GIT_DIR/logs directory is not an error.
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r-- | refs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1251,7 +1251,7 @@ static int do_for_each_reflog(const char *base, each_ref_fn fn, void *cb_data) free(log); closedir(dir); } - else + else if (*base) return errno; return retval; } |