[OpenAFS-devel] git + symlinks

Jeff Blaine jblaine@kickflop.net
Thu, 16 Jun 2011 08:45:34 -0400


>> Reality:
>
>> tests/doc/man-pages/command-args-t*
>> tests/ptserver/PTS-commands-manpages-t ->  ../doc/man-pages/command-args-t*
>> tests/venus/FS-commands-manpages-t ->  ../doc/man-pages/command-args-t*
>> tests/volser/VOS-commands-manpages-t ->  ../doc/man-pages/command-args-t*
>
> How is that not reality?  Looks like Git is telling you exactly the right
> thing.  You added four new files to the tree but you haven't run git add
> on any of them.  Three are in new directories, so the whole directory is
> showing up as new, and the other one is in an existing directory, so just
> the file shows up as new.

Ahhhhh.  I get it now.

> (BTW, I would probably -1 this.  The test programs should only be in the
> tests/ directory, not somewhere else and symlinked there.)

The test programs *are* only in the tests directory.

The single script command-args-t is in tests/doc/man-pages

The other tests (under tests!) symlink upward to it.