From: Linus Torvalds Date: Thu, 21 Apr 2005 17:55:18 +0000 (-0700) Subject: Add support for a "GIT_INDEX_FILE" environment variable. X-Git-Tag: v0.99~782 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/bb233d690a9782e1570dc93ead2bf04aaca7cfe4?ds=inline;hp=bb233d690a9782e1570dc93ead2bf04aaca7cfe4 Add support for a "GIT_INDEX_FILE" environment variable. We use that to specify alternative index files, which can be useful if you want to (for example) generate a temporary index file to do some specific operation that you don't want to mess with your main one with. It defaults to the regular ".git/index" if it hasn't been specified. ---