Skip to content

Commit

Permalink
for-each-reflog: not having $GIT_DIR/logs directory is not an error.
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Feb 13, 2007
1 parent 25b51e2 commit acb39f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion refs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit acb39f6

Please sign in to comment.