bug with submodule and assume-unchanged

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

 



Hello,

Marking a submodule with update-index --assume-unchanged breaks diff.

Consider the script in http://pastebin.ca/2082543. The last 'diff'
output follows. Note that the diff for 'afile' is displayed, then sub
breaks the operation, and the diff for 'test' (or any other file that
comes after 'sub') is not displayed at all.

$:/tmp/git$ cd super/
$:/tmp/git/super$ git diff
fatal: unable to read c17499ae216dfba9538ed7f94ba109c2c5b87b2a
diff --git a/afile b/afile
index 14be0d4..7c2160f 100644
--- a/afile
+++ b/afile
@@ -1 +1 @@
-hello2
+goodbye2
diff --git a/sub b/sub
deleted file mode 160000
index c17499a..0000000
--- a/sub
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit c17499ae216dfba9538ed7f94ba109c2c5b87b2a

- Orgad
--
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]