All of lore.kernel.org
 help / color / mirror / Atom feed
From: Miles Bader <miles@gnu.org>
To: Jari Aalto <jari.aalto@cante.net>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] git-reset.txt: Use commit~1 notation over commit^
Date: Thu, 02 Dec 2010 22:17:03 +0900	[thread overview]
Message-ID: <87mxoos4a8.fsf@catnip.gol.com> (raw)
In-Reply-To: <87bp54s770.fsf@picasso.cante.net> (Jari Aalto's message of "Thu, 02 Dec 2010 14:14:11 +0200")

Jari Aalto <jari.aalto@cante.net> writes:
>> It doesn't matter.  There needs to be a better reason than "Jari doesn't
>> like it."
>
> This has nothing to do with liking. It how infomation is read. When
> information is consistent, it lessens cognitive load.

No, it has to do with your trying to impose your personal tastes.

^ (and ^^, etc) is a simpler and easier concept to deal with, and
sufficient for the vast majority of tasks -- beyond 1 or 2 levels,
it's typically easier to just use an absolute reference cut-and-pasted
from git log output than it is to count commits and get the right
value to use with ~ (and from experience, unless you're careful, it's
very easy to get counts for ~ wrong).  So it's ~ that's the "expert
notation", not ^.

[How do I know?   Because I've _been_ a git beginner, and spent a long
time trying to learn git.]

-Miles

-- 
Discriminate, v.i. To note the particulars in which one person or thing is,
if possible, more objectionable than another.

  parent reply	other threads:[~2010-12-02 13:17 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-01 18:14 [PATCH] git-reset.txt: Use commit~1 notation over commit^ jari.aalto
2010-12-01 19:13 ` Drew Northup
2010-12-01 19:37   ` Jari Aalto
2010-12-01 22:01     ` Kevin Ballard
2010-12-01 22:49       ` Jari Aalto
2010-12-01 22:56         ` Kevin Ballard
2010-12-01 22:06     ` Junio C Hamano
2010-12-01 22:50       ` Jari Aalto
2010-12-02  0:07         ` Andreas Schwab
2010-12-02  5:37           ` Jari Aalto
2010-12-01 22:56       ` Santi Béjar
2010-12-02  5:39         ` Jari Aalto
2010-12-02  6:17           ` Miles Bader
2010-12-02 12:14             ` Jari Aalto
2010-12-02 12:51               ` Drew Northup
2010-12-02 13:17               ` Miles Bader [this message]
2010-12-02 13:20                 ` jari
2010-12-02 17:44                   ` Andreas Schwab
2010-12-02 17:55                     ` Junio C Hamano
2010-12-02 18:46                       ` Jeff King
2010-12-02 18:54                         ` Junio C Hamano
2010-12-02 19:05                           ` Jeff King
2010-12-02  2:46       ` Miles Bader

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=87mxoos4a8.fsf@catnip.gol.com \
    --to=miles@gnu.org \
    --cc=git@vger.kernel.org \
    --cc=jari.aalto@cante.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.