git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff King <peff@peff.net>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] git-reset: allow --soft in a bare repo
Date: Sat, 14 Jul 2007 21:02:15 -0400	[thread overview]
Message-ID: <20070715010215.GA20676@sigill.intra.peff.net> (raw)
In-Reply-To: <7v7ip3jsf8.fsf@assigned-by-dhcp.cox.net>

On Sat, Jul 14, 2007 at 01:33:31AM -0700, Junio C Hamano wrote:

> > since git-branch is usually used for _making_ a branch, whereas
> "branch -f" is very often used to "reset the branch tip".  My
> git day typically begins with "branch -f pu next".

I think we just have a different perspective of what is "usual" here.

> Actually, after thinking about this a bit more, I have become
> somewhat reluctant, as this might confuse new users by giving
> them a wrong mental model of what "reset" is about.

OK, as I said on irc, I don't think this is a huge issue in the first
place, and your argument about encouraging a particular workflow for
git-reset makes some sense (even if that hasn't been my approach to
git-reset in the past).

-Peff

      reply	other threads:[~2007-07-15  1:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-14  4:49 [PATCH] git-reset: allow --soft in a bare repo Jeff King
2007-07-14  5:19 ` Junio C Hamano
2007-07-14  5:24   ` Jeff King
2007-07-14  8:33     ` Junio C Hamano
2007-07-15  1:02       ` Jeff King [this message]

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=20070715010215.GA20676@sigill.intra.peff.net \
    --to=peff@peff.net \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /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).