From: "Govind Salinas" <blix@sophiasuchtig.com>
To: "Jeff King" <peff@peff.net>
Cc: "Johannes Schindelin" <Johannes.Schindelin@gmx.de>,
"Jay Soffian" <jaysoffian@gmail.com>,
"Jason Garber" <jgarber@ionzoft.com>,
git@vger.kernel.org
Subject: Re: [PATCH(TIC)] push: annoy all users by deprecating the default semantics
Date: Tue, 19 Feb 2008 19:03:23 -0600 [thread overview]
Message-ID: <5d46db230802191703v1e273284k71817fcd8a2639a1@mail.gmail.com> (raw)
In-Reply-To: <20080219170507.GA1144@sigill.intra.peff.net>
On 2/19/08, Jeff King <peff@peff.net> wrote:
> On Tue, Feb 19, 2008 at 04:54:14PM +0000, Johannes Schindelin wrote:
>
> > > Just say "git push origin HEAD"?
> >
> > The point is: if that becomes the default (with a certain config option),
> > people will get used to typing "git push". They will not even _know_
> > about the explicit form.
>
> I guess I hoped that people giving answers on the IRC channel would be a
> little less clueless. Perhaps that is just optimism.
>
> > See followup.
>
> I'm actually starting to like your patch now...;)
>
> > BTW if that is really the way to go, we will have to have a _long_ period
> > (I am talking about 6-12 _months_ if not more) where there _must not_ be a
> > default action for git-push. Otherwise people _will_ get more confused
> > than necessary.
>
> I agree that it would need a long deprecation period to change behavior.
> It would almost be easier to have a "git <foo>" command where <foo> is
> some sort of restricted, safe-for-certain-workflows version of push.
>
For those interested, this is how I plan to have the default for
pyrite. The default currently just calls "git push origin HEAD"
Calling with another target repository and refspec would still be
supported of course.
In general, the plan it to take the most common work flows and simply
the UI around those. This includes silently doing "git add -u" before
pushing a commit and "pyt diff" will diff between the working
directory and HEAD because I have never been interested in the state
of the index, only in the state of the working dir.
-Govind
next prev parent reply other threads:[~2008-02-20 1:04 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-18 22:15 git push [rejected] question Jason Garber
2008-02-19 4:33 ` Jeff King
2008-02-19 13:09 ` Jay Soffian
2008-02-19 15:08 ` Jeff King
2008-02-19 15:18 ` Jay Soffian
2008-02-19 15:25 ` Jeff King
2008-02-19 15:59 ` Johannes Schindelin
2008-02-19 16:14 ` [PATCH(TIC)] push: annoy all users by deprecating the default semantics Johannes Schindelin
2008-02-19 16:21 ` Jason Garber
2008-02-19 16:41 ` Johannes Schindelin
2008-02-19 16:37 ` Jeff King
2008-02-19 16:54 ` Johannes Schindelin
2008-02-19 17:05 ` Jeff King
2008-02-20 1:03 ` Govind Salinas [this message]
2008-02-20 1:10 ` Junio C Hamano
2008-02-20 1:21 ` Govind Salinas
2008-02-20 3:15 ` Junio C Hamano
2008-02-19 18:40 ` Jay Soffian
[not found] ` <E7DE807861E8474E8AC3DC7AC2C75EE50542F62D@34093-EVS2C1.exchange.rackspace.com>
2008-02-19 15:21 ` git push [rejected] question Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5d46db230802191703v1e273284k71817fcd8a2639a1@mail.gmail.com \
--to=blix@sophiasuchtig.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=jaysoffian@gmail.com \
--cc=jgarber@ionzoft.com \
--cc=peff@peff.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).