Re: [PATCH] [BUG] Add a test to check git-prune does not throw away revs hidden by a graft.
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 18, 2006, 21:46 UTC
- Message-ID
- <7viro3nh07.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.64.0605181435230.10823@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
Show 6 quoted lines
> Is it/does it? > > I'd assume that if you have a graft, you _want_ the history to be hidden > and pruned. > > That's how you'd drop history, if you wanted to do it on purpose.
I haven't looked at what the test does, but I think he is talking about the opposite. fsck by design does not honor grafts, and if you grafted a history back to your true root commit, that "older" history will be lost.