From: Junio C Hamano Date: Thu, 26 Mar 2009 07:26:47 +0000 (-0700) Subject: Merge branch 'bc/maint-1.6.1-branch-deleted-was' X-Git-Tag: v1.6.3-rc0~86 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=23fd723c9dfbe9b558c0d9a46696ca93f93bab04;p=git.git Merge branch 'bc/maint-1.6.1-branch-deleted-was' * bc/maint-1.6.1-branch-deleted-was: git-branch: display "was sha1" on branch deletion rather than just "sha1" Conflicts: builtin-branch.c --- 23fd723c9dfbe9b558c0d9a46696ca93f93bab04 diff --cc builtin-branch.c index 14d4b917e,23b6949fe..07a440eeb --- a/builtin-branch.c +++ b/builtin-branch.c @@@ -171,10 -165,9 +171,10 @@@ static int delete_branches(int argc, co ret = 1; } else { struct strbuf buf = STRBUF_INIT; - printf("Deleted %sbranch %s (%s).\n", remote, - printf("Deleted %sbranch %s (was %s).\n", remote, argv[i], - find_unique_abbrev(sha1, DEFAULT_ABBREV)); - strbuf_addf(&buf, "branch.%s", argv[i]); ++ printf("Deleted %sbranch %s (was %s).\n", remote, + bname.buf, + find_unique_abbrev(sha1, DEFAULT_ABBREV)); + strbuf_addf(&buf, "branch.%s", bname.buf); if (git_config_rename_section(buf.buf, NULL) < 0) warning("Update of config-file failed"); strbuf_release(&buf);