.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.
     1 .gitignore
     2 *.o
     3 *~
     4 *.repo
     5 razor
     6 test-driver
     7 pkgs
     8 set
     9 primary.xml.gz
    10 filelists.xml.gz