Re: git-submodule getting submodules from the parent repository

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Sam Vilain
Date: Tuesday, April 1, 2008 - 4:05 pm

Avery Pennarun wrote:

The reason is that not everyone wants that by default.  Perhaps it is a
good idea for it to be default behaviour; but all in good time.  It can
be a user-selected option to clone first.


I can understand the motivation to write such disparaging remarks;
however it may be more productive to come up with good ideas about how
it can be made to work better for you, without getting in the way of
other users.  patches are even better!


Sure, you could;

  git push origin HEAD:branchname

However I think the right solution to this is to name the branch
appropriately somehow, so that the default push operation works.


Well, where did you get the branch name from?  That's the part that
requires user intervention.  You could make an educated guess, such as
with git name-rev, but it would not necessarily be the right guess - so
user confirmation of the choice would be desirable.

Sam.
--
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: git-submodule getting submodules from the parent repos ..., Eyvind Bernhardsen, (Sun Mar 30, 6:32 am)
Re: git-submodule getting submodules from the parent repos ..., Eyvind Bernhardsen, (Sun Mar 30, 12:50 pm)
Re: git-submodule getting submodules from the parent repos ..., Eyvind Bernhardsen, (Mon Mar 31, 2:29 am)
Re: git-submodule getting submodules from the parent repos ..., Eyvind Bernhardsen, (Mon Mar 31, 3:05 am)
Re: git-submodule getting submodules from the parent repos ..., Sam Vilain, (Tue Apr 1, 4:05 pm)