Skip to content

Commit 9c36e17

Browse files
committed
Merge branch 'jk/fetch-status'
* jk/fetch-status: git-fetch: always show status of non-tracking-ref fetches
2 parents b79c985 + e5c4982 commit 9c36e17

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

builtin-fetch.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,12 +360,10 @@ static int store_updated_refs(const char *url, struct ref *ref_map)
360360

361361
if (ref)
362362
update_local_ref(ref, what, verbose, note);
363-
else if (verbose)
363+
else
364364
sprintf(note, "* %-*s %-*s -> FETCH_HEAD",
365365
SUMMARY_WIDTH, *kind ? kind : "branch",
366366
REFCOL_WIDTH, *what ? what : "HEAD");
367-
else
368-
*note = '\0';
369367
if (*note) {
370368
if (!shown_url) {
371369
fprintf(stderr, "From %.*s\n",

0 commit comments

Comments
 (0)