]> arthur.barton.de Git - bup.git/commit
bup save: handle symlinks correctly.
authorAvery Pennarun <apenwarr@gmail.com>
Sun, 3 Jan 2010 08:01:40 +0000 (03:01 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Sun, 3 Jan 2010 08:01:40 +0000 (03:01 -0500)
commit0b6ee27776cf0705e930fd5e998f0f98ea85bcd4
tree189b70a024576a999025206d4e9da6f1ce0ef621
parent81daacde06025f3c71a6f1deef9b3134576c77b0
bup save: handle symlinks correctly.

ie. save symlinks as symlinks, don't blindly recurse into them.

Also, directory names in trees need to be sorted as if they were "name/",
not "name".  Otherwise git fsck complains.

Improved 'make test' to check 'git fsck' output and to actually run bup
save.
12 files changed:
Makefile
cmd-save.py
git.py
hashsplit.py
t/sampledata/b [new symlink]
t/sampledata/c [new symlink]
t/sampledata/etc [new symlink]
t/sampledata/x [new file with mode: 0644]
t/sampledata/y-2000 [new file with mode: 0644]
t/sampledata/y/testfile1 [new file with mode: 0644]
t/sampledata/y/text [new file with mode: 0644]
test-sh [new file with mode: 0755]