diff options
author | SZEDER Gábor <szeder.dev@gmail.com> | 2019-11-12 11:38:12 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-12-06 13:29:04 -0800 |
commit | e0c4da6f2adcede27fb097337c71f7b377a074a1 (patch) | |
tree | 39fb68b96e32645fff6e1577ae2ac415de5cad4d /t/t4109/expect-2 | |
parent | name-rev: use strbuf_strip_suffix() in get_rev_name() (diff) | |
download | tgif-e0c4da6f2adcede27fb097337c71f7b377a074a1.tar.xz |
name-rev: avoid unnecessary cast in name_ref()
Casting a 'struct object' to 'struct commit' is unnecessary there,
because it's already available in the local 'commit' variable.
Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4109/expect-2')
0 files changed, 0 insertions, 0 deletions