login
Header Space

 
 

Re: How to change a submodue as a subdirectory?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ping Yin <pkufranky@...>
Cc: Alex Riesen <raa.lkml@...>, Git Mailing List <git@...>
Date: Thursday, November 15, 2007 - 8:28 am

Hi,

On Thu, 15 Nov 2007, Ping Yin wrote:


If this works for you, I am all the more happy for you.  I thought that 
you wanted to be able to go to a certain revision and get the same working 
directory/directories.  (But that is not what you get...)


Strictly speaking, you do not have to move it outside.


No need to play games with GIT_INDEX_FILE, as far as I can tell.


If you plan to do away with subB, you do not need to specify it... Just 
use FETCH_HEAD, directly after the fetch.


The git-cherry call is not really necessary, right?  The two repos have no 
common history (not even common patches).

Besides, I think that what you did is just a complicated way of doing a 
rebase.

But be aware that checking out older versions of the superproject will 
still have the submodule!

Ciao,
Dscho

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
How to change a submodue as a subdirectory?, Ping Yin, (Wed Nov 14, 10:37 am)
Re: How to change a submodue as a subdirectory?, Alex Riesen, (Wed Nov 14, 4:26 pm)
Re: How to change a submodue as a subdirectory?, Ping Yin, (Thu Nov 15, 1:36 am)
Re: How to change a submodue as a subdirectory?, Johannes Schindelin, (Thu Nov 15, 2:16 am)
Re: How to change a submodue as a subdirectory?, Ping Yin, (Thu Nov 15, 4:14 am)
Re: How to change a submodue as a subdirectory?, Johannes Schindelin, (Thu Nov 15, 8:28 am)
Re: How to change a submodue as a subdirectory?, Ping Yin, (Thu Nov 15, 12:41 pm)
speck-geostationary