Re: [RFC PATCH] git push: Push nothing if no refspecs are given or configured
Markus Heidelberg, 05.03.2009:
Show 13 quoted lines
> Sverre Rabbelier, 05.03.2009:
> > Heya,
> >
> > On Thu, Mar 5, 2009 at 23:15, Finn Arne Gangstad <finnag@pvv.org> wrote:
> > > Previously, git push [remote] with no arguments would behave like
> > > "git push <remote> :" if no push refspecs were configured for the remote.
> > > It may be too easy for novice users to write "git push" or
> > > "git push origin" by accident, so git will now push nothing, and give an
> > > error message in such cases.
> >
> > Config option please, I very much like the current behavior.
>
> git push --nothing ? :)
Oh, I confused "config option" with "command line argument"...
Markus