* Remote "push" syntax
@ 2007-04-22 20:49 Daniel Barkalow
0 siblings, 0 replies; only message in thread
From: Daniel Barkalow @ 2007-04-22 20:49 UTC (permalink / raw)
To: git
I'm splitting the code for reading configuration of remotes out of
builtin-push, for eventual use by builtin versions of additional commands,
as well as to make git-push hopefully a bit nicer to use, so I'm wodnering
about details of the behavior I should match.
Is it actually valid to have wildcards in the "push" configuration for a
remote? git-push seems to skip them when looking at configuration files,
and the documentation only talks about them being valid on the command
line. Is there some reason to filter them out of the configurations,
rather than just treating them as (unlikely) literals?
git-push currently always defaults to "origin", even if there is a
different remote configured for the current branch. It seems to me like
using the branch's remote would be better if there is one.
Do we care about the order of precedence of ways of configurating remotes?
The current order is remotes > config > branches; it would be convenient
to use config > remotes > branches, particularly because I'd like to read
the config file first to find out the branch configuration.
-Daniel
*This .sig left intentionally blank*
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-04-22 20:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-22 20:49 Remote "push" syntax Daniel Barkalow
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).