Skip to content

Commit 6e6a36c

Browse files
committed
contrib: show pull # in prompt for github-merge script
1 parent 7f76dda commit 6e6a36c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

contrib/devtools/github-merge.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ else
136136
echo "Dropping you on a shell so you can try building/testing the merged source." >&2
137137
echo "Run 'git diff HEAD~' to show the changes being merged." >&2
138138
echo "Type 'exit' when done." >&2
139+
if [[ -f /etc/debian_version ]]; then # Show pull number in prompt on Debian default prompt
140+
export debian_chroot="$PULL"
141+
fi
139142
bash -i
140143
read -p "Press 'm' to accept the merge. " -n 1 -r >&2
141144
echo

0 commit comments

Comments
 (0)