Re: [RFC/PATCH 1/2] commit: add parse_commit_repl() to replace commits at parsing time
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Aug 18, 2010, 04:24 UTC
- Message-ID
- <20100818042459.GD21185@burratino>
- In-Reply-To
- <201008180607.54675.chriscool@tuxfamily.org>
Christian Couder wrote:
> The downside is that the sha1 will not be > consistent with the content anymore and that it will be more difficult to > realize that an object has been replaced as there will be no sha1 change to be > seen.
Maybe in the long run it would make sense to keep a "replaced" flag and use it to mark the replace objects specially in some user-facing commands (like log --format=medium).