mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-03 02:32:03 +00:00
SCRIPTS: git-show-backports: add missing quotes to "echo"
Two places were not properly protected, resulting in '*' in commit subjects being interpreted!
This commit is contained in:
parent
c03ea40763
commit
48d92ee3f4
@ -132,7 +132,7 @@ dump_commit_matrix() {
|
|||||||
done
|
done
|
||||||
line="${line} |"
|
line="${line} |"
|
||||||
if [ -z "$MISSING" -o $missing -gt 0 ]; then
|
if [ -z "$MISSING" -o $missing -gt 0 ]; then
|
||||||
[ $((count++)) -gt 0 ] || echo $title
|
[ $((count++)) -gt 0 ] || echo "$title"
|
||||||
[ "$QUIET" != "" -o $count -lt 20 ] || count=0
|
[ "$QUIET" != "" -o $count -lt 20 ] || count=0
|
||||||
if [ -z "$UPSTREAM" -o "$upstream" = "none" -o -z "$upstream" ]; then
|
if [ -z "$UPSTREAM" -o "$upstream" = "none" -o -z "$upstream" ]; then
|
||||||
echo "$(short $ref) $line"
|
echo "$(short $ref) $line"
|
||||||
@ -235,7 +235,7 @@ dump_commit_matrix | column -t | \
|
|||||||
echo "---- Subject ----"
|
echo "---- Subject ----"
|
||||||
else
|
else
|
||||||
# doing it this way prevents git from abusing the terminal
|
# doing it this way prevents git from abusing the terminal
|
||||||
echo $(git log -1 --pretty="%s" "$1")
|
echo "$(git log -1 --pretty="%s" "$1")"
|
||||||
left_commits[${#left_commits[@]}]="$1"
|
left_commits[${#left_commits[@]}]="$1"
|
||||||
comm=""
|
comm=""
|
||||||
while [ -n "$1" -a "$1" != "-" -a "$1" != "|" ]; do
|
while [ -n "$1" -a "$1" != "-" -a "$1" != "|" ]; do
|
||||||
|
Loading…
Reference in New Issue
Block a user