Rename rezip to .rezip
This commit is contained in:
parent
048858c23b
commit
775b01c482
5 changed files with 6 additions and 4 deletions
2
.rezip/.gitattributes
vendored
Normal file
2
.rezip/.gitattributes
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
*.FCStd filter=rezip
|
||||
|
|
@ -7,7 +7,6 @@ The supplied rezip.zh script unzips a zip archive into the temp folder and rezip
|
|||
This repository serves as an example for setting up a git repo to recompress the .FCStd files during commit with 0 compression level, gicing a chance to go git to store the changes more efficiently.
|
||||
|
||||
## Usage
|
||||
- Copy the __*rezip.sh*__ script to any folder which is included in the search path.
|
||||
- Make sure that zip and unzip commands are available on your system.
|
||||
- Append the content of the file __*config*__ to your repository's __*.git/config*__ file.
|
||||
- Copy __*.gitattributes*__ to the root of your repository.
|
3
.rezip/config
Normal file
3
.rezip/config
Normal file
|
@ -0,0 +1,3 @@
|
|||
[filter "rezip"]
|
||||
clean = ./.rezip/rezip.sh -0
|
||||
smudge = ./.rezip/rezip.sh -9
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
#set -x
|
||||
#usage rezip.sh [-#] [filename]
|
||||
|
||||
unset compression
|
|
@ -1,3 +0,0 @@
|
|||
[filter "rezip"]
|
||||
clean = rezip.sh -0
|
||||
smudge = rezip.sh -9
|
Loading…
Add table
Add a link
Reference in a new issue