summaryrefslogtreecommitdiff
path: root/git-add--interactive.perl
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2008-07-11 18:55:57 +0200
committerJunio C Hamano <gitster@pobox.com>2008-07-11 21:14:34 -0700
commitc4adea82c5064971ff6d090be8db89c44456186b (patch)
tree505b1e7cef90a73e7138ff82e343b7db40f8e44c /git-add--interactive.perl
parentf9dd4bf4e58af0b4828c7e7013080dba59f8a6b9 (diff)
downloadgit-c4adea82c5064971ff6d090be8db89c44456186b.tar.gz
Convert CR/LF to LF in tag signatures
On Windows, gpg outputs CR/LF signatures. But since the tag messages are already stripped of the CR by stripspace(), it is arguably nicer to do the same for the tag signature. Actually, this patch does not look for CR/LF, but strips all CRs from the signature. It does so not only on Windows but on all platforms to keep the code simpler. [ spr: ported code to use strbuf ] Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Steffen Prohaska <prohaska@zib.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-add--interactive.perl')
0 files changed, 0 insertions, 0 deletions