1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-06-06 04:26:12 +02:00

for-each-reflog: not having $GIT_DIR/logs directory is not an error.

Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Junio C Hamano 2007-02-12 23:21:34 -08:00
parent 25b51e2c7f
commit acb39f64c6

2
refs.c
View File

@ -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;
}