login
Header Space

 
 

Re: Why do git submodules require manual checkouts and commits?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Johannes Schindelin <Johannes.Schindelin@...>
Cc: skillzero@gmail.com <skillzero@...>, <git@...>
Date: Friday, May 16, 2008 - 10:44 am

On 5/16/08, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:

Indeed.  I think you and I use submodules for very different purposes.
 The important case for me is that I often add a function to a library
(submodule), then *immediately* move on to use that function in an
application (supermodule).  When I commit the new submodule gitlink,
there are almost always other source code changes in the supermodule
at the same time.  And then I want to share the new application with
my co-workers shortly thereafter, often several times per day.

It looks like your own work on submodules tends to be quite isolated
from the supermodule, which would make sense if you use submodules for
(say) bundling a bunch of separate applications together.


Well, I think someone already submitted some "git submodule recursive" stuff.

I don't mean to complain.  I think the existing git-submodule code
gives all the raw materials necessary to solve all my
submodule-related problems, whatever those problems may be.  I'd much
rather have tedious-but-flexible instead of quick-but-inflexible.
However, having such powerful tools means it takes longer to figure
out how to use them most effectively.

Don't worry, I'll be the first to submit an all-singing all-dancing
shell script as soon as I figure out what that looks like.  Err,
unless someone else submits it first.  I guess that should cover all
my bases :)

(And now... I'm going to disappear for at least a week for vacation.  Bye!)

Have fun,

Avery
--
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:
Re: Why do git submodules require manual checkouts and commi..., Johannes Schindelin, (Fri May 16, 9:58 am)
Re: Why do git submodules require manual checkouts and commi..., Johannes Schindelin, (Fri May 16, 10:24 am)
Re: Why do git submodules require manual checkouts and commi..., Avery Pennarun, (Fri May 16, 10:44 am)
Re: Why do git submodules require manual checkouts and commi..., Johannes Schindelin, (Fri May 16, 6:17 am)
speck-geostationary