Re: [PATCH v2 1/4] apply: reject input that touches outside $cwd
- From
Torsten Bögershausen <tboegi@web.de>
- Date
- Feb 3, 2015, 05:56 UTC
- Message-ID
- <54D06303.7050100@web.de>
- In-Reply-To
- <1422919650-13346-2-git-send-email-gitster@pobox.com>
If I am allowed to to some load thinking:
The commit msh header says: reject input that touches outside $cwd
The commit message says: By default, a patch that affects outside the working area
And the new command line option is this: --unsafe-paths (Which may be a good choice to pretend people from using it without having read the documentaion)
(And isn't working area the same as "work space" ?)
I have the slight feeling that there may be more unsafe-path situations coming up in the future..
Will --allow-outside-ws or --patch-outside-ws be better ?