From: Michael Haggerty Date: Mon, 08 Jun 2015 11:45:39 GMT Subject: [PATCH 05/13] delete_refs(): improve error message Message-ID: <9f6f3432467c2b12329c16a46c52670f772993e5.1433763494.git.mhagger@alum.mit.edu> In-Reply-To: Change the error message from Could not remove branch %s to Could not remove reference %s This change makes sense even for the existing caller, which uses the function to delete remote-tracking branches. Signed-off-by: Michael Haggerty --- refs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/refs.c b/refs.c index c413282..2a2a06d 100644 --- a/refs.c +++ b/refs.c @@ -2827,7 +2827,7 @@ int delete_refs(struct string_list *refnames) const char *refname = refnames->items[i].string; if (delete_ref(refname, NULL, 0)) - result |= error(_("Could not remove branch %s"), refname); + result |= error(_("Could not remove reference %s"), refname); } return result; -- 2.1.4