summaryrefslogtreecommitdiff
path: root/sha1-name.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2018-05-10 12:42:58 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-05-11 03:03:13 (GMT)
commita264f229cb01a5f5215ccf04a7a41cbebaeb65c2 (patch)
treef0f9ffcb7f425d17a5496a9ccd5b67acfd7fa1b8 /sha1-name.c
parent1f1cddd558b54bb0ce19c8ace353fd07b758510d (diff)
downloadgit-a264f229cb01a5f5215ccf04a7a41cbebaeb65c2.zip
git-a264f229cb01a5f5215ccf04a7a41cbebaeb65c2.tar.gz
git-a264f229cb01a5f5215ccf04a7a41cbebaeb65c2.tar.bz2
sha1-name.c: remove stray newline
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>
Diffstat (limited to 'sha1-name.c')
-rw-r--r--sha1-name.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sha1-name.c b/sha1-name.c
index 5b93bf8..cd3b133 100644
--- 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;