On Nov 12, 2007, at 1:21 PM, Johannes Schindelin wrote:
* sp/refspec-match (Sun Nov 11 15:01:48 2007 +0100) 4 commits
- refactor fetch's ref matching to use refname_match()
- push: use same rules as git-rev-parse to resolve refspecs
- add refname_match()
- push: support pushing HEAD to real branch name
This changes the semantics slightly but I think it is a move in
the right direction.
We could add a "--matching" option and output a warning when it is not
passed. I would like this pretty soon, and would not be sad if it
went
into 'next' before this topic.
Is this the road towards
1) "git push --matching" push matching branches.
2) "git push --current" push only current branch.
3) "git push" report error if the config does not contain a Push line.
(after it reported a warning for a while).
I'd like to see this too. Unfortunately it's unlikely that I'll start
working on it before next weekend.
"--matching" would be a no-op at this time. Only a warning would be
printed
if it is missing. Right?
Steffen
-
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