Re: [PATCHv2] git-mv: Keep moved index entries inact
- From
Petr Baudis <pasky@suse.cz>
- Date
- Jul 29, 2008, 00:17 UTC
- Message-ID
- <20080729001751.GH10151@machine.or.cz>
- In-Reply-To
- <7vwsj5rf48.fsf@gitster.siamese.dyndns.org>
On Mon, Jul 28, 2008 at 12:19:19PM -0700, Junio C Hamano wrote:
Show 8 quoted lines
> We need to refresh the entry to pick up potential ctime changes. > > read-cache.c | 7 ++++++- > builtin-ls-files.c | 21 +++++++++++++++------ > 2 files changed, 21 insertions(+), 7 deletions(-) > > diff --git a/read-cache.c b/read-cache.c > index 1cae361..834096f 100644
Oops, silly me. Sorry for being slower than you at fixing this. ;-)
> diff --git a/builtin-ls-files.c b/builtin-ls-files.c > index e8d568e..a6b30c8 100644
If you are going to apply this, you might be interested in squashing this:
diff --git a/Documentation/git-ls-files.txt b/Documentation/git-ls-files.txt index f43af41..2ead7af 100644 --- a/Documentation/git-ls-files.txt +++ b/Documentation/git-ls-files.txt @@ -53,7 +53,14 @@ OPTIONS -s:: --stage:: - Show stage files in the output + Show cached files in an extended format also listing the entry + mode, sha1 and stage number; see below for details. + +-S:: +--stat:: + Show cached files in a special format listing stat information + stored in the index; this is useful probably only for Git + debugging purposes. --directory:: If a whole directory is classified as "other", show just its (and even if you aren't, maybe the first part is useful, though it's minor.)
-- Petr "Pasky" Baudis As in certain cults it is possible to kill a process if you know its true name. -- Ken Thompson and Dennis M. Ritchie