Fwd: git diff-index --raw HEAD and git diff --raw HEAD output the same thing?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry i have forgotten to cc git list


---------- Forwarded message ----------
From: Ping Yin <pkufranky@xxxxxxxxx>
Date: Sat, Mar 1, 2008 at 9:45 PM
Subject: Re: git diff-index --raw HEAD and git diff --raw HEAD output
the same thing?
To: Johannes Schindelin <Johannes.Schindelin@xxxxxx>



On Sat, Mar 1, 2008 at 9:21 PM, Johannes Schindelin
 <Johannes.Schindelin@xxxxxx> wrote:
 > Hi,
 >
 >
 >  On Sat, 1 Mar 2008, Ping Yin wrote:
 >
 >  > Strange things is this line
 >  > :160000 160000 34f279b1662a6bef6a8fdea1827bbdbd80f12444
 >  > 0000000000000000000000000000000000000000 M      commonmake
 >  >
 >  > why mod is 160000 while sha1 is 0000...
 >
 >  This indicates that a submodule (160000) was deleted (00000).  It is
 >  easier not to handle a deletion as mode change...
 >
 No, it isn't deleted, git diff --raw HEAD shows the right result
 And why do diff and diff-index show different result?
 $ git status
 # On branch master
 # Changes to be committed:
 #   (use "git reset HEAD <file>..." to unstage)
 #
 #       deleted:    WordBreak
 #       typechange: util
 #
 # Changed but not updated:
 #   (use "git add <file>..." to update what will be committed)
 #
 #       modified:   commonmake
 >  Ciao,
 >  Dscho
 >
 >



 --
 Ping Yin
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux