Re: Git push failure in the case of SSH to localhost
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Feb 11, 2009, 19:14 UTC
- Message-ID
- <20090211191445.GU30949@spearce.org>
- In-Reply-To
- <8e04b5820902111103n69cde3e1le5781fb1818b622c@mail.gmail.com>
"Ciprian Dorin, Craciun" <ciprian.craciun@gmail.com> 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.