Skip to content

Commit 1fa9bf3

Browse files
torvaldsJunio C Hamano
authored andcommitted
git-quiltimport complaining yet still working
There were two bugs: "stop_here" doesn't exist, but the bug that causes this code to trigger in the *first* place is the wrong use of "$dotest". It should be ".dotest" This is essentially the same bug introduced by 87ab799, one was fixed with 0d38ab2 but this was somehow left behind. Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent befc9c4 commit 1fa9bf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git-quiltimport.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ mkdir $tmp_dir || exit 2
7373
for patch_name in $(cat "$QUILT_PATCHES/series" | grep -v '^#'); do
7474
echo $patch_name
7575
(cat $QUILT_PATCHES/$patch_name | git-mailinfo "$tmp_msg" "$tmp_patch" > "$tmp_info") || exit 3
76-
test -s $dotest/patch || {
76+
test -s .dotest/patch || {
7777
echo "Patch is empty. Was is split wrong?"
78-
stop_here $this
78+
exit 1
7979
}
8080

8181
# Parse the author information

0 commit comments

Comments
 (0)