Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
sha1-name.c: remove stray newline
author
Ævar Arnfjörð Bjarmason
<avarab@gmail.com>
Thu, 10 May 2018 12:42:58 +0000
(12:42 +0000)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 11 May 2018 03:03:13 +0000
(12:03 +0900)
This stray newline was accidentally introduced in
d2b7d9c7ed
("sha1_name: convert disambiguate_hint_fn to take
object_id", 2017-03-26).
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1-name.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
1f1cddd
)
diff --git
a/sha1-name.c
b/sha1-name.c
index 5b93bf8da36939376b506f96624f568875397969..cd3b133aaed5eae2d86a2b2d804ff5b1e0ca525e 100644
(file)
--- a/
sha1-name.c
+++ b/
sha1-name.c
@@
-346,7
+346,6
@@
static int show_ambiguous_object(const struct object_id *oid, void *data)
struct strbuf desc = STRBUF_INIT;
int type;
-
if (ds->fn && !ds->fn(oid, ds->cb_data))
return 0;