Re: [PATCH] Use a temporary index for interactive git-commit
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Dec 30, 2010, 02:51 UTC
- Message-ID
- <20101230025126.GA1868@burratino>
- In-Reply-To
- <1293670038-8606-1-git-send-email-conrad.irwin@gmail.com>
Conrad Irwin wrote:
> I'm not sure that adding parameters to functions willy-nilly is the best > way of doing this. Can anyone suggest a cleaner mechanism?
Would a simple
setenv(INDEX_ENVIRONMENT, index_file);
in the caller make sense?