diff options
author | Jed Brown <jed@59A2.org> | 2012-11-25 20:43:19 +0100 |
---|---|---|
committer | Jed Brown <jed@59A2.org> | 2012-11-25 20:43:19 +0100 |
commit | d5f924d9f040a49c0d0114b8ef03c6ec3a96bd9c (patch) | |
tree | 985232f72aa1df42a1b5196c1e37c42c2888d80c /test.sh | |
download | git-fat-d5f924d9f040a49c0d0114b8ef03c6ec3a96bd9c.tar.gz |
initial import
Diffstat (limited to 'test.sh')
-rwxr-xr-x | test.sh | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -0,0 +1,23 @@ +#!/bin/bash + +set -e + +git init fat-test +cd fat-test +git fat init +cat - >> .gitfat <<EOF +[rsync] +remote = localhost:/tmp/fat-store +EOF +echo '*.fat filter=fat -crlf' > .gitattributes +git add .gitattributes .gitfat +git commit -m'Initial fat repository' + +echo 'fat content a' > a.fat +git add a.fat +git commit -m'add a.fat' +echo 'fat content b' > b.fat +git add b.fat +git commit -m'add b.fat' +echo 'revise fat content a' > a.fat +git commit -am'revise a.fat' |