summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cb11574)
raw | patch | inline | side by side (parent: cb11574)
author | Eric W. Biederman <ebiederm@xmission.com> | |
Mon, 12 Jun 2006 19:31:38 +0000 (13:31 -0600) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 18 Jun 2006 01:51:53 +0000 (18:51 -0700) |
When git-format-patch was converted to a builtin an appropriate call
to setup_ident was missed and thus git-format-patch -s fails because
it doesn't look up anything in the password file.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
to setup_ident was missed and thus git-format-patch -s fails because
it doesn't look up anything in the password file.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-log.c | patch | blob | history |
diff --git a/builtin-log.c b/builtin-log.c
index 6afa66ce02bee9a0de4403e1bfb0eedb70c087df..9187fd337ba767384abab26224b95610aa531807 100644 (file)
--- a/builtin-log.c
+++ b/builtin-log.c
}
else if (!strcmp(argv[i], "--signoff") ||
!strcmp(argv[i], "-s")) {
- const char *committer = git_committer_info(1);
- const char *endpos = strchr(committer, '>');
+ const char *committer;
+ const char *endpos;
+ setup_ident();
+ committer = git_committer_info(1);
+ endpos = strchr(committer, '>');
if (!endpos)
die("bogos committer info %s\n", committer);
add_signoff = xmalloc(endpos - committer + 2);