From: Junio C Hamano Date: Mon, 18 Feb 2008 09:30:39 GMT Subject: Re: [PATCH] opening files in remote.c should ensure it is opening a file Message-ID: <7v3arqr4qo.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20080218101026.6098667f@pc09.procura.nl> "H.Merijn Brand" writes: > Most bizarre workaround found for clone (the first 4 failures): > --8<--- > diff -pur /a5/pro/3gl/LINUX/git-1.5.4/git-clone.sh git-clone.sh > --- a/git-1.5.4/git-clone.sh 2008-02-02 05:09:01 +0100 > +++ b/git-1.5.4/git-clone.sh 2008-02-18 10:03:26 +0100 > @@ -368,7 +368,8 @@ yes) > '') git-fetch-pack --all -k $quiet $depth $no_progress "$repo";; > *) git-fetch-pack --all -k $quiet "$upload_pack" $depth $no_progress "$repo" ;; > esac >"$GIT_DIR/CLONE_HEAD" || > - die "fetch-pack from '$repo' failed." > + exit 1 > + # die "fetch-pack from '$repo' failed." > ;; > esac > ;; That sounds *very* broken. Is your /bin/sh really a variant of Bourne? If HP-UX is broken in a similar way as Solaris is, in that it installs a non-POSIX shell under /bin/sh and offers a Korn in /bin/ksh, "make SHELL_PATH=/bin/ksh" may help.