From: demerphq Date: Mon, 20 Jul 2009 11:17:36 GMT Subject: Re: [PATCH 2/3] push: add --current Message-ID: <9b18b3110907200417t2e916d9bqffdb168329d88bc4@mail.gmail.com> In-Reply-To: <1248071820-18289-3-git-send-email-bonzini@gnu.org> 2009/7/20 Paolo Bonzini : [snip] > A secondary effect of --head is that, if there is no push.default > specified, I make the default push refspec "HEAD". I think you mean something like: A secondary effect of --current is that if there is no push.default configuration setting specified the default push refspec will be "HEAD". The important point being you talk about --current but then mention --head which I am guessing was a previous name for this option. BTW, I like this option and I can imagine it will be a popular alias. One of the more common questions I get asked from people about git is what to do about all the "error" messages when pushing. I usually explain that unless the error message concerns the current branch which you wanted to push that they can be ignored. I look forward to pointing out this option instead. Thanks. :-) Cheers, yves -- perl -Mre=debug -e "/just|another|perl|hacker/"