author | Junio C Hamano <gitster@pobox.com> | |
Thu, 5 Jan 2012 18:54:14 +0000 (10:54 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 5 Jan 2012 21:02:26 +0000 (13:02 -0800) | ||
commit | c871a1d17b8433d98df59b03da5538f10c4ae52c | |
tree | ce9d496f4015b0aa1ac08eca1f3c2e7357c725cb | tree | snapshot |
parent | e3f55e07076f88ec01a49dcfb7c2ac56658145a4 | commit | diff |
commit --amend -S: strip existing gpgsig headers
Any existing commit signature was made against the contents of the old
commit, including its committer date that is about to change, and will
become invalid by amending it.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Any existing commit signature was made against the contents of the old
commit, including its committer date that is about to change, and will
become invalid by amending it.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/commit.c | diff | blob | history | |
commit.c | diff | blob | history | |
commit.h | diff | blob | history | |
t/t7510-signed-commit.sh | diff | blob | history |