Code

Fix off-by-one in read_tree_recursive
[git.git] / builtin-branch.c
index 504a981ad56f73a547c11bf3e18185f67111d000..07166b8856b2a2637a55b20221a929d6dbea1e0c 100644 (file)
@@ -171,7 +171,7 @@ static int delete_branches(int argc, const char **argv, int force, int kinds)
                        ret = 1;
                } else {
                        struct strbuf buf = STRBUF_INIT;
-                       printf("Deleted %sbranch %s (%s).\n", remote,
+                       printf("Deleted %sbranch %s (was %s).\n", remote,
                               bname.buf,
                               find_unique_abbrev(sha1, DEFAULT_ABBREV));
                        strbuf_addf(&buf, "branch.%s", bname.buf);