Re: 'git status' is not read-only fs friendly

From: Theodore Tso <tytso@mit.edu>
Date: 2007-02-10 10:27:51
On Fri, Feb 09, 2007 at 03:29:16PM -0500, Morten Welinder wrote:
> >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



-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Sat Feb 10 10:31:39 2007

This archive was generated by hypermail 2.1.8 : 2007-02-10 10:33:16 EST