diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-12-12 21:49:51 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-12-12 21:49:51 -0800 |
commit | 9f5074e0348071532911cffb622d7df6754a9743 (patch) | |
tree | fc7c2003d22ca48107e199175d857c2b32d69801 /reflog-walk.c | |
parent | 0d181cbb8adbc964a075fd71148415f6bd431272 (diff) | |
parent | ffa1eeaeea38f6d667e304f9b12c890b7c14d088 (diff) | |
download | git-9f5074e0348071532911cffb622d7df6754a9743.tar.gz |
Merge branch 'jk/maint-reflog-bottom'
* jk/maint-reflog-bottom:
reflogs: clear flags properly in corner case
Diffstat (limited to 'reflog-walk.c')
-rw-r--r-- | reflog-walk.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/reflog-walk.c b/reflog-walk.c index 4879615cad..5d81d39a52 100644 --- a/reflog-walk.c +++ b/reflog-walk.c @@ -239,7 +239,6 @@ void fake_reflog_parent(struct reflog_walk_info *info, struct commit *commit) commit->parents = xcalloc(sizeof(struct commit_list), 1); commit->parents->item = commit_info->commit; - commit->object.flags &= ~(ADDED | SEEN | SHOWN); } void get_reflog_selector(struct strbuf *sb, |