git-quiltimport: preserve standard input to be able to read user input
authorGerrit Pape <pape@smarden.org>
Tue, 24 Feb 2009 09:00:06 +0000 (09:00 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Feb 2009 08:49:13 +0000 (00:49 -0800)
commit6ab149ea89fe5790630c5750af0e3245a7a5e06e
tree1beb8ff2b9ba00f11c813bb96b5f23009c05d4ae
parent6a0861a8a3295395238c8126c6e74c66b715c595
git-quiltimport: preserve standard input to be able to read user input

When run without --author and it fails to determine an author, git
quiltimport tries `read patch_author` to get user input, but standard
input has been redirected to the patch series file.  This commit lets
quiltimport read the series file through file descriptor 3 so that the
standard input is preserved.

Reported by Uwe Kleine-König through http://bugs.debian.org/515910

Signed-off-by: Gerrit Pape <pape@smarden.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-quiltimport.sh