Re: [PATCH 1/4] parse-options: introduce OPT_PATH

2015-02-24 Thread Michael J Gruber
Junio C Hamano venit, vidit, dixit 23.02.2015 20:23: Michael J Gruber g...@drmicha.warpmail.net writes: Many options are paths, but not files. Introduce OPT_PATH which does the same path processing as OPT_FILENAME but allows to name the argument. ... diff --git a/parse-options.h

[PATCH 1/4] parse-options: introduce OPT_PATH

2015-02-23 Thread Michael J Gruber
Many options are paths, but not files. Introduce OPT_PATH which does the same path processing as OPT_FILENAME but allows to name the argument. Signed-off-by: Michael J Gruber g...@drmicha.warpmail.net --- Documentation/technical/api-parse-options.txt | 5 + parse-options.h

Re: [PATCH 1/4] parse-options: introduce OPT_PATH

2015-02-23 Thread Junio C Hamano
Michael J Gruber g...@drmicha.warpmail.net writes: Many options are paths, but not files. Introduce OPT_PATH which does the same path processing as OPT_FILENAME but allows to name the argument. ... diff --git a/parse-options.h b/parse-options.h index 7940bc7..5127a5d 100644 ---

Re: [PATCH 1/4] parse-options: introduce OPT_PATH

2015-02-23 Thread Philip Oakley
From: Michael J Gruber g...@drmicha.warpmail.net Many options are paths, but not files. Introduce OPT_PATH which does the same path processing as OPT_FILENAME but allows to name the argument. Signed-off-by: Michael J Gruber g...@drmicha.warpmail.net ---