Re: [PATCH] git-init: set up GIT_DIR/workdir if GIT_WORK_DIR is set
- From
- Matthias Lederhofer <matled@gmx.net>
- Date
- Mar 12, 2007, 12:52 UTC
- Message-ID
- <20070312125207.GA16335@moooo.ath.cx>
- In-Reply-To
- <20070312121226.GB2268@always.joy.eth.net>
Joshua N Pritikin <jpritikin@pobox.com> wrote:
Show 7 quoted lines
> On Mon, Mar 12, 2007 at 12:53:50PM +0100, Matthias Lederhofer wrote: > > git-init will always put an absolute path in > > GIT_DIR/workdir, relative paths are resolved from the > > directory git-init was called from. > > Does that mean I can't move my GIT trees around without changing a > config entry? What is that an improvement?
Only when using $GIT_DIR. $GIT_DIR/workdir is only the default value for $GIT_WORK_DIR.