Skip to content

Commit

Permalink
git-quiltimport complaining yet still working
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Linus Torvalds authored and Junio C Hamano committed Apr 14, 2007
1 parent befc9c4 commit 1fa9bf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git-quiltimport.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ mkdir $tmp_dir || exit 2
for patch_name in $(cat "$QUILT_PATCHES/series" | grep -v '^#'); do
echo $patch_name
(cat $QUILT_PATCHES/$patch_name | git-mailinfo "$tmp_msg" "$tmp_patch" > "$tmp_info") || exit 3
test -s $dotest/patch || {
test -s .dotest/patch || {
echo "Patch is empty. Was is split wrong?"
stop_here $this
exit 1
}

# Parse the author information
Expand Down

0 comments on commit 1fa9bf3

Please sign in to comment.