Re: [PATCH 2/7] builtin-help: change the current directory back in list_commands_in_dir()
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 26, 2008, 14:58 UTC
- Message-ID
- <alpine.DEB.1.00.0807261657150.26810@eeepc-johanness>
- In-Reply-To
- <4f2b03391e3f85cf2224f97a2a7765d08707bd73.1217037178.git.vmiklos@frugalware.org>
Hi,
On Sat, 26 Jul 2008, Miklos Vajna wrote:
> That function used to do a chdir() without switching back to the > original directory. That was not a problem till this function was used > only inside builtin-help, but once other builtins use it as well, this > is a problem, for example when the object database path is relative.
I had to work around that in my patch "git wrapper: DWIM mistyped commands", too :-)
Ciao, Dscho