Skip to content

Commit

Permalink
Merge branch 'eb/mail'
Browse files Browse the repository at this point in the history
* eb/mail:
  Fix git-format-patch -s
  • Loading branch information
Junio C Hamano committed Jun 19, 2006
2 parents b47f509 + 6c4cca1 commit 72afd3e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions builtin-log.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,11 @@ int cmd_format_patch(int argc, const char **argv, char **envp)
}
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);
Expand Down

0 comments on commit 72afd3e

Please sign in to comment.