diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-07-17 02:51:59 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-07-17 02:51:59 -0400 |
commit | 2362ffa45bb15a0ba4af68cd92212fff3b5ec4e3 (patch) | |
tree | 9fd320e31722995fa0e559f4ab5faa6a1da52f3e /git-rewrite-branch | |
parent | 4e63cb551b73861b0840f2ff3e0d94aba788eaff (diff) |
git-rewrite-branch: fix typo
Diffstat (limited to 'git-rewrite-branch')
-rwxr-xr-x | git-rewrite-branch | 2 |
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 } |