diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2007-02-09 01:28:23 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-02-08 17:48:22 -0800 |
commit | eb3a48221fd4a0b38c31976028dbab7df51be6d4 (patch) | |
tree | 054ee03e6d638c4fdd9f2d5ac9ed5f29bbcf2e54 /cache.h | |
parent | e00de24b102da647485aeeeff278c21ab31420a2 (diff) | |
download | git-eb3a48221fd4a0b38c31976028dbab7df51be6d4.tar.gz git-eb3a48221fd4a0b38c31976028dbab7df51be6d4.tar.xz |
log --reflog: use dwim_log
Since "git log origin/master" uses dwim_log() to match
"refs/remotes/origin/master", it makes sense to do that for
"git log --reflog", too.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -302,6 +302,7 @@ extern char *sha1_to_hex(const unsigned char *sha1); /* static buffer result! */ extern int read_ref(const char *filename, unsigned char *sha1); extern const char *resolve_ref(const char *path, unsigned char *sha1, int, int *); extern int dwim_ref(const char *str, int len, unsigned char *sha1, char **ref); +extern int dwim_log(const char *str, int len, unsigned char *sha1, char **ref); extern int create_symref(const char *ref, const char *refs_heads_master, const char *logmsg); extern int validate_headref(const char *ref); |