SCRIPTS: git-show-backports: fix a harmless typo
There was a double output redirection in this script while dumping the current branch's refs which could cause either an error or an empty file.
This commit is contained in:
parent
11cfb3daec
commit
b684cd4642
@ -183,7 +183,7 @@ mkdir -p .git/.show-backports #|| die "Can't create .git/.show-backports"
|
||||
WORK=.git/.show-backports
|
||||
|
||||
rm -f "$WORK/${REF//\//_}"
|
||||
git log --reverse ${LOGEXPR:+--grep $LOGEXPR} --pretty="%H %s" "$BASE".."$REF" | grep "${SUBJECT}" > "$WORK/${branch//\//_}" > "$WORK/${REF//\//_}"
|
||||
git log --reverse ${LOGEXPR:+--grep $LOGEXPR} --pretty="%H %s" "$BASE".."$REF" | grep "${SUBJECT}" > "$WORK/${REF//\//_}"
|
||||
|
||||
# for each branch, enumerate all commits and their ancestry
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user