From c841c191d60db5b485a0325522491955b2a4b3da Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 17 Jul 2016 02:51:59 -0400 Subject: git-rewrite-branch: fix typo --- git-rewrite-branch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-rewrite-branch b/git-rewrite-branch index 429070f..59f3597 100755 --- a/git-rewrite-branch +++ b/git-rewrite-branch @@ -83,7 +83,7 @@ commit2id() { if [[ $branch == $ibranch ]] && ! $hastag; then printf '%s\n' "$commit" else - git log "$branch" -n1 --pretty=formtat:'%B' "$commit" | sed -n "s|^\s*${tag}: ||p" + git log "$branch" -n1 --pretty=format:'%B' "$commit" | sed -n "s|^\s*${tag}: ||p" fi } -- cgit v1.2.3-54-g00ecf