On Nov 19, 2007, at 9:35 AM, Junio C Hamano wrote:
My main point is that I want to have something that _always_
works as expected without manually tweaking the configuration
variables. In a setting with shared repos, "git push" doesn't.
Sooner or later it will complain about refusing an update
because of non-fast-forward. The only thing that currently
works it "git push $correct-remote $correct-branch", but this
depends on the local configuration and on the branch you're on.
"git push --current" would always work as expected; without
setting any configuration variable.
I can tell my users that their workflow is
git checkout foo
git pull
work work work ...
git push --current
That simple. I'm fine with that.
I'll not change the default. I'll only add the --current switch.
Steffen
-
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