diff options
author | Junio C Hamano <junkio@cox.net> | 2007-01-28 00:50:53 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-01-28 01:58:50 -0800 |
commit | 01754769ab9bf9ff2fe2b12590e7ee2c7c3448ca (patch) | |
tree | e98e8d08196d2bbc2a2326c1d439f17f301e9d4c /builtin-branch.c | |
parent | 903b45fe1808f72e712a118bf115b9dc07d02420 (diff) | |
download | git-01754769ab9bf9ff2fe2b12590e7ee2c7c3448ca.tar.gz |
Don't force everybody to call setup_ident().
Back when only handful commands that created commit and tag were
the only users of committer identity information, it made sense
to explicitly call setup_ident() to pre-fill the default value
from the gecos information. But it is much simpler for programs
to make the call automatic when get_ident() is called these days,
since many more programs want to use the information when updating
the reflog.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-branch.c')
-rw-r--r-- | builtin-branch.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin-branch.c b/builtin-branch.c index 25ffa5491c..d60690bb08 100644 --- a/builtin-branch.c +++ b/builtin-branch.c @@ -394,7 +394,6 @@ int cmd_branch(int argc, const char **argv, const char *prefix) int kinds = REF_LOCAL_BRANCH; int i; - setup_ident(); git_config(git_branch_config); for (i = 1; i < argc; i++) { |