Git development
 help / color / mirror / Atom feed
From: merlyn@stonehenge.com (Randal L. Schwartz)
To: Terrence Brannon <schemelab@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: regarding "git status"
Date: Thu, 13 May 2010 07:17:20 -0700	[thread overview]
Message-ID: <86pr0zdgy7.fsf@red.stonehenge.com> (raw)
In-Reply-To: <loom.20100513T155553-871@post.gmane.org> (Terrence Brannon's message of "Thu, 13 May 2010 13:56:06 +0000 (UTC)")

>>>>> "Terrence" == Terrence Brannon <schemelab@gmail.com> writes:

Terrence> In the manpage for git-status
Terrence> (http://www.kernel.org/pub/software/scm/git/docs/git-status.html) it says:

Terrence> "Displays paths that have differences between the index file
Terrence> and the current HEAD commit"

Terrence> but how could something be added to the index and not be
Terrence> different from the current HEAD commit? shouldnt this sentence
Terrence> say: "displays paths that have been added to the index"

The HEAD commit might have changed without changing the index via
something like "git reset --soft $sha1".  So yes, either the index or
the head might have changed, and this is reporting the differences
between them.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion

  reply	other threads:[~2010-05-13 14:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-13 13:56 regarding "git status" Terrence Brannon
2010-05-13 14:17 ` Randal L. Schwartz [this message]
2010-05-13 14:20 ` Matthieu Moy

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=86pr0zdgy7.fsf@red.stonehenge.com \
    --to=merlyn@stonehenge.com \
    --cc=git@vger.kernel.org \
    --cc=schemelab@gmail.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