[Date Prev][Date Next] [Chronological] [Thread] [Top]

No symlinks in Git please (was: openldap.git branch mdb created.) 227e6976db20f424d4f6abda2b73bfa53034a714

I think we should not have symlinks in Git.  I does strange things with
them.  In particular on a system without symlinks, but also in my
checkout now:

$ git checkout mdb
$ cd servers/slapd/back-mdb/
$ ls -l mdb.c libmdb/mdb.c
ls: cannot access libmdb/mdb.c: No such file or directory
lrwxrwxrwx 1 hbf usit 12 2011-08-17 13:26 mdb.c -> libmdb/mdb.c
$ gitk --all
...but this does show the mdb source.

I suggest:

- treat the 'mdb' branch as a throw-away branch, instead of
  merging it into master,

- let Makefile make the symlinks, as in libraries/liblunicode,

- make some Git hook which rejects commits with symlinks.