author | Thomas Rast <trast@student.ethz.ch> | |
Fri, 12 Mar 2010 17:04:34 +0000 (18:04 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 13 Mar 2010 05:55:40 +0000 (21:55 -0800) | ||
commit | 6360d343af9acf7366be6ff89740f5077e12277b | |
tree | ae4f1e77e120cf24e951ec729a7e006a50a880a7 | tree | snapshot |
parent | eb2151bb8938a8e2af86e3ed34243af7b1c95786 | commit | diff |
commit --amend: copy notes to the new commit
Teaches 'git commit --amend' to copy notes. The catch is that this
must also be guarded by --no-post-rewrite, which we use to prevent
--amend from copying notes during a rebase -i 'edit'/'reword'.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Teaches 'git commit --amend' to copy notes. The catch is that this
must also be guarded by --no-post-rewrite, which we use to prevent
--amend from copying notes during a rebase -i 'edit'/'reword'.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-commit.c | diff | blob | history | |
t/t7501-commit.sh | diff | blob | history |