summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2007-01-28 00:50:53 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2007-01-28 01:58:50 -0800
commit01754769ab9bf9ff2fe2b12590e7ee2c7c3448ca (patch)
treee98e8d08196d2bbc2a2326c1d439f17f301e9d4c /cache.h
parentgit-log -g --pretty=oneline should display the reflog message (diff)
downloadtgif-01754769ab9bf9ff2fe2b12590e7ee2c7c3448ca.tar.xz
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 'cache.h')
-rw-r--r--cache.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index 9486132ac5..9873ee97d9 100644
--- a/cache.h
+++ b/cache.h
@@ -319,7 +319,6 @@ int parse_date(const char *date, char *buf, int bufsize);
void datestamp(char *buf, int bufsize);
unsigned long approxidate(const char *);
-extern int setup_ident(void);
extern const char *git_author_info(int);
extern const char *git_committer_info(int);