Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [RFC] separate .git from working directory

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:43

"Nguyen Thai Ngoc Duy" [off-list ref] writes:
I thought about symlinks. However find will follow symlinks and
traverse .git directories again. My goal is to prevent looking into
.git directories
I do not think the user (i.e. the developer working in his git
tree or git forest that hosts subprojects) should have to bend
and move .git directories away from the directory structure he
works in just to please the tool (i.e. find).  In this case the
tool has an easy way to bend itself to match what the user
wants, which is:

	find ... \( -type d -name .git -prune \) -o ...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help