Re: [PATCH] replace: fix replacing object with itself
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 9, 2014, 17:35 UTC
- Message-ID
- <xmqqy4rkcm4n.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <20141109055842.GB13445@peff.net>
Jeff King <peff@peff.net> writes:
> I think all of the callers of replace_object_sha1 do this same check > now. Can we just move the check into that function instead of adding > another instance of it?
Good thinking. Thanks.