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
commitc841c191d60db5b485a0325522491955b2a4b3da (patch)
tree68d9435decaa085381b7f2836fab9a416d014258
parent4fa3edc4d6019a3186a7f61ed5bdb8e2dbe8f855 (diff)
git-rewrite-branch: fix typogit-rewrite-branch
-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
}