Re: Weirdness with port-update hook and local push
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Dec 5, 2005, 20:40 UTC
- Message-ID
- <Pine.LNX.4.63.0512052138560.6554@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <Pine.LNX.4.64.0512051530560.25300@iabervon.org>
Hi,
On Mon, 5 Dec 2005, Daniel Barkalow wrote:
Show 19 quoted lines
> I have the following post-update hook: > > ----- > #!/bin/sh > > unset GIT_DIR > cd /home/barkalow/auto-working/web > if ! git pull /home/barkalow/git/web.git/ > then > exit 1 > fi > make > ----- > > >From that "git pull", I'm getting: > > /home/barkalow/bin/git-pull: line 108: 30608 Broken pipe git-merge $no_summary $no_commit $strategy_args "$merge_name" HEAD $merge_head > > It works fine when pushing over ssh,
Maybe it runs as a different user? (Sorry if this sounds dumb, but that's exactly the kind of solution I usually find after *days*.)
Hth, Dscho