author | Christian Couder <chriscool@tuxfamily.org> | |
Mon, 2 Feb 2009 05:12:53 +0000 (06:12 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 1 Jun 2009 00:03:00 +0000 (17:03 -0700) | ||
commit | bebdd271ff660d603ad75fef346ad1ff19fca0cb | |
tree | f1a9ca8a8eefbbf5674b69454e1679acc777ba97 | tree | snapshot |
parent | 54b0c1e041e50cc08b1520b7d557770916d0b7ab | commit | diff |
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>
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 | diff | blob | history | |
t/t6050-replace.sh | diff | blob | history |