]> git.ipfire.org Git - thirdparty/git.git/commit - commit.c
commit --amend -S: strip existing gpgsig headers
authorJunio C Hamano <gitster@pobox.com>
Thu, 5 Jan 2012 18:54:14 +0000 (10:54 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Jan 2012 21:02:26 +0000 (13:02 -0800)
commitc871a1d17b8433d98df59b03da5538f10c4ae52c
treece9d496f4015b0aa1ac08eca1f3c2e7357c725cb
parente3f55e07076f88ec01a49dcfb7c2ac56658145a4
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>
builtin/commit.c
commit.c
commit.h
t/t7510-signed-commit.sh