builtin-replace: teach "git replace" to actually replace
authorChristian Couder <chriscool@tuxfamily.org>
Mon, 2 Feb 2009 05:12:53 +0000 (06:12 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Jun 2009 00:03:00 +0000 (17:03 -0700)
commitbebdd271ff660d603ad75fef346ad1ff19fca0cb
treef1a9ca8a8eefbbf5674b69454e1679acc777ba97
parent54b0c1e041e50cc08b1520b7d557770916d0b7ab
builtin-replace: teach "git replace" to actually replace

Teach the syntax: "git replace <object> <replacement>", so that
"git replace" can now create replace refs. These replace refs
will be used by read_sha1_file to substitute <object> with
<replacement> for most of the commands.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-replace.c
t/t6050-replace.sh