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

Re: [PATCH resend] git-apply: apply submodule changes

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

Sven Verdoolaege [off-list ref] writes:
Or should we just refuse to apply submodule patches if --index
has not been specified?
If somebody sends you a patch that adds a new gitlink, I think
it is very natural to create a directory (or make sure a
directory exists) there when applying without --index.

My gut feeling is that it would probably be the most user
friendly to just warn but ignore if you do not have submodule
there and a patch wants to modify that path.  After all, the
fundamental idea behind our submodule support is that you as a
superproject person should not even have to have the submodule
checked out.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help