author | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 10 Sep 2007 00:13:10 +0000 (20:13 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 10 Sep 2007 00:39:42 +0000 (20:39 -0400) | ||
commit | 3b9dfde3d636aeb961318d41b3ab59f72414d010 | |
tree | d9e1c2d615cdec9147414988b753c98eaf2fe13e | tree | snapshot |
parent | 4ed1a190d09c7d6a248038edb11addda77af7550 | commit | diff |
git-gui: Assume untracked directories are Git submodules
If `git ls-files --others` returned us the name of a directory then
it is because Git has decided that this directory itself contains a
valid Git repository and its files shouldn't be listed as untracked
for this repository.
In such a case we should label the object as a Git repository and
not just as a directory.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
If `git ls-files --others` returned us the name of a directory then
it is because Git has decided that this directory itself contains a
valid Git repository and its files shouldn't be listed as untracked
for this repository.
In such a case we should label the object as a Git repository and
not just as a directory.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/diff.tcl | diff | blob | history |