From: Shawn O. Pearce Date: Wed, 11 Feb 2009 19:14:45 GMT Subject: Re: Git push failure in the case of SSH to localhost Message-ID: <20090211191445.GU30949@spearce.org> In-Reply-To: <8e04b5820902111103n69cde3e1le5781fb1818b622c@mail.gmail.com> "Ciprian Dorin, Craciun" wrote: > > Here is what I'm trying to accomplish: I want to add to the git > search path also the folder ${GIT_DIR}/bin if this already exists... > (This allows me to have repository specific commands...) for f in `cd $(git rev-parse --git-dir)/bin && ls *`; do git config alias.$f '!$(git rev-parse --git-dir)/bin/'$f done No need to patch git. -- Shawn.