diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2017-10-16 01:06:59 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-10-16 05:05:51 +0300 |
commit | 334dc52f49ee3e56a32142d3500fe93ef79aac67 (patch) | |
tree | b9f130941739b6515f7d3588331bc562e1376e3a /sha1_name.c | |
parent | b8acac54c8f91e2b677137665a2d750b086875dc (diff) |
refs: convert dwim_log to struct object_id
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1_name.c')
-rw-r--r-- | sha1_name.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sha1_name.c b/sha1_name.c index d8ff831759..514915460f 100644 --- a/sha1_name.c +++ b/sha1_name.c @@ -656,7 +656,7 @@ static int get_oid_basic(const char *str, int len, struct object_id *oid, /* allow "@{...}" to mean the current branch reflog */ refs_found = dwim_ref("HEAD", 4, oid, &real_ref); else if (reflog_len) - refs_found = dwim_log(str, len, oid->hash, &real_ref); + refs_found = dwim_log(str, len, oid, &real_ref); else refs_found = dwim_ref(str, len, oid, &real_ref); |