Re: 'git status' is not read-only fs friendly
- From
Theodore Tso <tytso@mit.edu>
- Date
- Feb 9, 2007, 23:27 UTC
- Message-ID
- <20070209232750.GE10484@thunk.org>
- In-Reply-To
- <118833cc0702091229qfa0a3bcyae40b5e7ff70262b@mail.gmail.com>
On Fri, Feb 09, 2007 at 03:29:16PM -0500, Morten Welinder wrote:
Show 6 quoted lines
> >Running refresh internally in runstatus without writing the > >result out _might_ be an option, but that would largely be > >a hack to only help qgit. > > I might be overlooking something, but couldn't that updated index be > saved elsewhere? And subcommands be pointed at that, of course.
You should be able to set the GIT_INDEX_FILE environtment variable to point the index somewhere else than $GIT_DIR/index, so it's not located on a read-only filesystem. See the git(7) man page.
- Ted