Created
May 12, 2011 18:54
-
-
Save jleedev/969191 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
josh@tortuga:~/repo1$ (master) git ls-files -s | |
100644 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 0 files | |
160000 8b2785e26ff50203b827a29a590fc4cf8b91fe10 0 repo2 | |
100644 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 0 stuff | |
josh@tortuga:~/repo1$ (master) (cd repo2; git rev-parse HEAD) | |
8b2785e26ff50203b827a29a590fc4cf8b91fe10 | |
josh@tortuga:~/repo1$ (master) (cd repo2; git commit --allow-empty -m 'Updated repo2') | |
[master 0224058] Updated repo2 | |
josh@tortuga:~/repo1$ (master) git status | |
# On branch master | |
# Changes not staged for commit: | |
# (use "git add <file>..." to update what will be committed) | |
# (use "git checkout -- <file>..." to discard changes in working directory) | |
# | |
# modified: repo2 (new commits) | |
# | |
no changes added to commit (use "git add" and/or "git commit -a") | |
josh@tortuga:~/repo1$ (master) git diff | |
diff --git i/repo2 w/repo2 | |
index 8b2785e..0224058 160000 | |
--- i/repo2 | |
+++ w/repo2 | |
@@ -1 +1 @@ | |
-Subproject commit 8b2785e26ff50203b827a29a590fc4cf8b91fe10 | |
+Subproject commit 022405836731a01aa7599c64a60f9cada2857f6e |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I cannot reproduce that. Did the behavior change?