Thread (6 messages) 6 messages, 3 authors, 2017-03-18

Re: [PATCHv4] rev-parse: add --show-superproject-working-tree

From: Jonathan Nieder <hidden>
Date: 2017-03-17 22:28:50

Possibly related (same subject, not in this thread)

Hi,

Stefan Beller wrote:
Add the flag --show-superproject-working-tree to git-rev-parse
to make it easy to find out if there is a superproject. When no
superproject exists, the output will be empty.
I'm a little late for this, but think it's better to comment late than
never.

After this patch, git rev-parse has two options relating to the working
tree:

	git rev-parse --is-inside-work-tree
	git rev-parse --show-superproject-working-tree

Is this inconsistency necessary?  Now that there is a "git worktree"
command that allows making a second working tree for the same
repository, I would have thought we had standardized on work tree as
the name in UI.

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