Thread (7 messages) flat view 7 messages, 4 authors, 2016-06-15

Re: [PATCH v3 1/2] rev-parse: add option --is-well-formed-git-dir [path]

From: Heiko Voigt <hidden>
Date: 2016-06-15 22:51:48

Hi,

On Sat, Aug 13, 2011 at 09:49:56AM +0700, Nguyen Thai Ngoc Duy wrote:
On Sat, Aug 13, 2011 at 2:55 AM, Fredrik Gustafsson [off-list ref] wrote:
\> +--is-well-formed-git-dir [path]::
quoted
+ ?? ?? ?? Check if [path] is a valid git-dir or a git-file pointing to a valid
+ ?? ?? ?? git-dir. If [path] is a valid git-dir the resolved path to git-dir will
+ ?? ?? ?? be printed.
May I suggest --is-valid-git-dir?
While we are talking about names how about:

	--resolve-git-dir

? Since we had this information already the option prints out the found
resolved git directory and could be used for that.

Cheers Heiko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help