Re: [PATCH] "git help -a" should search all exec_paths and PATH
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Oct 22, 2007, 06:06 UTC
- Message-ID
- <471C3DD4.90505@viscovery.net>
- In-Reply-To
- <20071021214846.GI16291@srparish.net>
Scott R Parish schrieb:
> + if (!dirp || chdir(dir)) {
> + fchdir(start_dir);/me dislikes this. Windows doesn't have fchdir().
AFAIKS you are only using this to chdir back to where you started, but is this necessary? Aren't we exiting anyway after the command list was printed?
-- Hannes