Revision 657907e76e298cac31845dadda2c71b431d9e712 authored by Junio C Hamano on 07 January 2006, 22:32:09 UTC, committed by Junio C Hamano on 08 January 2006, 05:34:02 UTC
When both howto-index.sh and howto/make-dist.txt exist under Documentation/ directory, dir_exists() mistakenly checked it without the trailing slash to see if there was something under Documentation/howto directory, and did not realize there was, because '-' sorts earlier than '/' and cache_name_pos() finds howto-index.sh, which is not under howto/ directory. This caused --others --directory to show it which was incorrect. Check the directory name with the trailing slash, because having an entry that has such as a prefix is what we are looking for. Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 9518eb2
File | Mode | Size |
---|---|---|
.gitignore | -rw-r--r-- | 58 bytes |
changelog | -rw-r--r-- | 6.1 KB |
compat | -rw-r--r-- | 2 bytes |
control | -rw-r--r-- | 2.5 KB |
copyright | -rw-r--r-- | 978 bytes |
docs | -rw-r--r-- | 7 bytes |
git-arch.files | -rw-r--r-- | 46 bytes |
git-core.doc-base | -rw-r--r-- | 301 bytes |
git-core.files | -rw-r--r-- | 5 bytes |
git-cvs.files | -rw-r--r-- | 44 bytes |
git-doc.files | -rw-r--r-- | 126 bytes |
git-email.files | -rw-r--r-- | 58 bytes |
git-svn.files | -rw-r--r-- | 44 bytes |
git-tk.files | -rw-r--r-- | 41 bytes |
rules | -rwxr-xr-x | 2.2 KB |
Computing file changes ...