aboutsummaryrefslogtreecommitdiff
path: root/reflog-walk.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-12-14 07:35:50 -0800
committerJunio C Hamano <gitster@pobox.com>2010-12-14 07:35:50 -0800
commit006f424b2d014b8a7c4887b7ddbb57256dd6b8c7 (patch)
treee940ac6eff3809dfe3864c3861dfb66dfb3640de /reflog-walk.c
parent37ad7ca7dbb0bef2b902f6bc7d3346ddff1667a5 (diff)
parentffa1eeaeea38f6d667e304f9b12c890b7c14d088 (diff)
downloadgit-006f424b2d014b8a7c4887b7ddbb57256dd6b8c7.tar.gz
git-006f424b2d014b8a7c4887b7ddbb57256dd6b8c7.tar.xz
Merge branch 'jk/maint-reflog-bottom' into maint
* jk/maint-reflog-bottom: reflogs: clear flags properly in corner case
Diffstat (limited to 'reflog-walk.c')
-rw-r--r--reflog-walk.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/reflog-walk.c b/reflog-walk.c
index 4879615ca..5d81d39a5 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,