On 12-09-27 11:38 PM, Junio C Hamano wrote:
* mb/remote-default-nn-origin (2012-07-11) 6 commits
- Teach get_default_remote to respect remote.default.
- Test that plain "git fetch" uses remote.default when on a detached HEAD.
- Teach clone to set remote.default.
- Teach "git remote" about remote.default.
- Teach remote.c about the remote.default configuration setting.
- Rename remote.c's default_remote_name static variables.
When the user does not specify what remote to interact with, we
often attempt to use 'origin'. This can now be customized via a
configuration variable.
Expecting a reroll.
"The first remote becomes the default" bit is better done as a
separate step.
Unfortunately my days have been too full to progress this. I'm still
planning to get to it when there's an opportunity. The next iteration
would add the settings required to enable the migration plan that Junio
outlined here:
http://article.gmane.org/gmane.comp.version-control.git/201332
In the meantime, anyone else who feels like taking this up is more than
welcome. The relevant threads are:
http://thread.gmane.org/gmane.comp.version-control.git/200145
http://thread.gmane.org/gmane.comp.version-control.git/201065
http://thread.gmane.org/gmane.comp.version-control.git/201306
M.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html