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 87ab7992, one was fixed with 0d38ab25 but this was somehow left behind. Signed-off-by: Junio C Hamano <junkio@cox.net>
Linus Torvalds committed
Apr 13, 2007 at 14:34 UTC
1fa9bf362acbe2c939c246684ab0fe59aec74ba8
1 file changed
+2
-2
git-quiltimport.sh
+2
-2
@@ -73,9 +73,9 @@ mkdir $tmp_dir || exit 2
73
for patch_name in $(cat "$QUILT_PATCHES/series" | grep -v '^#'); do
74
echo $patch_name
75
(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 || {
77
echo "Patch is empty. Was is split wrong?"
78
- stop_here $this
78
+ exit 1
79
}
80
81
# Parse the author information