diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-05-06 06:16:12 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-05-06 06:16:12 +0400 |
commit | 9c36e1700f99811ea9190279ea197424dcbb0303 (patch) | |
tree | 0ab14ca56f74f6f4b9e37f18afafe462f12bf31e | |
parent | b79c9859c8eb3bb4390f91320e126199ff884907 (diff) | |
parent | e5c49826d26e71ea18ff3010ef75edb1849df7ec (diff) |
Merge branch 'jk/fetch-status'
* jk/fetch-status:
git-fetch: always show status of non-tracking-ref fetches
-rw-r--r-- | builtin-fetch.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/builtin-fetch.c b/builtin-fetch.c index 167f948036..e56617e32e 100644 --- a/builtin-fetch.c +++ b/builtin-fetch.c @@ -360,12 +360,10 @@ static int store_updated_refs(const char *url, struct ref *ref_map) if (ref) update_local_ref(ref, what, verbose, note); - else if (verbose) + else sprintf(note, "* %-*s %-*s -> FETCH_HEAD", SUMMARY_WIDTH, *kind ? kind : "branch", REFCOL_WIDTH, *what ? what : "HEAD"); - else - *note = '\0'; if (*note) { if (!shown_url) { fprintf(stderr, "From %.*s\n", |