Re: [PATCH 3/5] sequencer: sequencer state is useless without todo
Jonathan Nieder <jrnieder@gmail.com> writes:
Show 11 quoted lines
> Ramkumar Ramachandra wrote:
>
>> Yeah, git_path() writes to one of the four static buffers in
>> path.c:get_pathname(). Which brings me to: what should (can) we do
>> about it?
>
> Just use a sane idiom. Which means: as few git_path() values in
> flight at a time as possible.
>
> In other words, do not save the git_path() result in a variable, but
> pass it directly to whatever computation needs to use it.
Or perhaps http://thread.gmane.org/gmane.comp.version-control.git/184963/focus=185436