summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c7fae5f)
raw | patch | inline | side by side (parent: c7fae5f)
author | Gerrit Pape <pape@smarden.org> | |
Fri, 22 Feb 2008 09:53:09 +0000 (09:53 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 22 Feb 2008 15:02:40 +0000 (07:02 -0800) |
After changing builtin-tag.c to use strbuf in fd17f5b (Replace all
read_fd use with strbuf_read, and get rid of it.), the last condition
in do_sign() will always be false, as it's checked already right
above. So let's remove the cruft.
Signed-off-by: Gerrit Pape <pape@smarden.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
read_fd use with strbuf_read, and get rid of it.), the last condition
in do_sign() will always be false, as it's checked already right
above. So let's remove the cruft.
Signed-off-by: Gerrit Pape <pape@smarden.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-tag.c | patch | blob | history |
diff --git a/builtin-tag.c b/builtin-tag.c
index 4a4a88c10b4b2f9e55662bd4c1c17051ae7e6aac..716b4fff323f7df638f8bed0940a1119e43c2590 100644 (file)
--- a/builtin-tag.c
+++ b/builtin-tag.c
if (finish_command(&gpg) || !len || len < 0)
return error("gpg failed to sign the tag");
- if (len < 0)
- return error("could not read the entire signature from gpg.");
-
return 0;
}