summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-07-17 02:51:59 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-07-17 02:51:59 -0400
commit2362ffa45bb15a0ba4af68cd92212fff3b5ec4e3 (patch)
tree9fd320e31722995fa0e559f4ab5faa6a1da52f3e
parent4e63cb551b73861b0840f2ff3e0d94aba788eaff (diff)
git-rewrite-branch: fix typo
-rwxr-xr-xgit-rewrite-branch2
1 files changed, 1 insertions, 1 deletions
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
}