.gitignore
author Dan Winship <danw@gnome.org>
Wed Feb 20 12:42:42 2008 -0500 (2008-02-20)
changeset 126 3142795705a5
parent 58 3403937e0913
child 241 c3eb520e2219
permissions -rw-r--r--
Fix file importing code to not generate some duplicate directories

build_file_tree() depends on the fact that the contents of a directory
are sorted immediately after it in the file list, but '.' sorts before '/'
lexicographically, so you'd actually end up with, eg:

/etc/yum
/etc/yum.conf
/etc/yum/pluginconf.d

which would cause a second entry for /etc/yum to be added to the file
list.

For now I've fixed this by make compare_filenames() do a special strcmp
by hand, manually sorting '/' before anything else.
krh@1
     1
.gitignore
krh@1
     2
*.o
krh@1
     3
*~
krh@1
     4
*.repo
krh@1
     5
razor
danw@110
     6
test-driver
krh@1
     7
pkgs
krh@1
     8
set
krh@58
     9
primary.xml.gz
danw@110
    10
filelists.xml.gz