From: "Lars Hjemli" <hjemli@gmail.com>
To: "Gonzalo Garramuno" <gga@filmaura.com>
Cc: git@vger.kernel.org
Subject: Re: git update index question
Date: Wed, 17 Oct 2007 14:49:37 +0200 [thread overview]
Message-ID: <8c5c35580710170549n25c8b692w2466091ea56d641e@mail.gmail.com> (raw)
In-Reply-To: <4715E2AB.4030900@filmaura.com>
On 10/17/07, Gonzalo Garramuno <gga@filmaura.com> wrote:
> what's the proper way to rebuild git's index file for all the files that
> were to be committed but weren't due to the abort.
Have you tried 'git commit -a'? It will run update-index on all
modified files prior to executing the hook.
Btw: If you want to inspect your changes for offending whitespace,
'git diff --color' and 'git diff --cached --color' are your friends.
And if you give up, there is also 'git commit -a --no-verify'.
--
larsh
next prev parent reply other threads:[~2007-10-17 12:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-17 10:23 git update index question Gonzalo Garramuno
2007-10-17 12:49 ` Lars Hjemli [this message]
2007-10-17 12:58 ` Gonzalo Garramuno
2007-10-17 13:30 ` Lars Hjemli
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8c5c35580710170549n25c8b692w2466091ea56d641e@mail.gmail.com \
--to=hjemli@gmail.com \
--cc=gga@filmaura.com \
--cc=git@vger.kernel.org \
/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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).