]> git.ipfire.org Git - thirdparty/git.git/commit - revision.c
revision traversal: --remove-empty fix.
authorJunio C Hamano <junkio@cox.net>
Sun, 12 Mar 2006 21:39:31 +0000 (13:39 -0800)
committerJunio C Hamano <junkio@cox.net>
Sun, 12 Mar 2006 21:39:31 +0000 (13:39 -0800)
commita41e109c4bcd56537fc3801623b1aa0dd4e06f1c
tree404a4098a6690de784d522780d615646cf4a2c22
parent8c3222079a9aca6622c6098a9157e59dddb1cfff
revision traversal: --remove-empty fix.

Marco Costalba reports that --remove-empty omits the commit that
created paths we are interested in.  try_to_simplify_commit()
logic was dropping a parent we introduced those paths against,
which I think is not what we meant.  Instead, this marks such
parent uninteresting.  The traversal does not go beyond that
parent as advertised, but we still say that the current commit
changed things from that parent.

Signed-off-by: Junio C Hamano <junkio@cox.net>
revision.c