Merge branch 'kn/rev-list-missing-fix'
"git rev-list --missing" did not work for missing commit objects, which has been corrected. * kn/rev-list-missing-fix: rev-list: add commit object support in `--missing` option rev-list: move `show_commit()` to the bottom revision: rename bit to `do_not_die_on_missing_objects`
This commit is contained in:
@ -298,7 +298,7 @@ static int cmd_reflog_expire(int argc, const char **argv, const char *prefix)
|
||||
struct rev_info revs;
|
||||
|
||||
repo_init_revisions(the_repository, &revs, prefix);
|
||||
revs.do_not_die_on_missing_tree = 1;
|
||||
revs.do_not_die_on_missing_objects = 1;
|
||||
revs.ignore_missing = 1;
|
||||
revs.ignore_missing_links = 1;
|
||||
if (verbose)
|
||||
|
Reference in New Issue
Block a user