diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-11-04 15:52:53 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-11-04 15:52:53 +0000 |
commit | 90a53c18354ca072f8d1a2fb326f149ad8ee061b (patch) | |
tree | 1ec2f73f7643c5274f5334c1970ade9c820b94bb /bin/git-upstream-add | |
parent | Updating. (diff) | |
download | progress-linux-tools-90a53c18354ca072f8d1a2fb326f149ad8ee061b.tar.xz progress-linux-tools-90a53c18354ca072f8d1a2fb326f149ad8ee061b.zip |
Updating.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'bin/git-upstream-add')
-rwxr-xr-x | bin/git-upstream-add | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/git-upstream-add b/bin/git-upstream-add index b4a6a97..615df42 100755 --- a/bin/git-upstream-add +++ b/bin/git-upstream-add @@ -22,6 +22,13 @@ then exit 1 fi +if [ -e .gitattributes ] +then + ( cat .gitattributes | grep -v 'filter=lfs' > .gitattributes.tmp ) || true + rm -f .gitattributes + mv .gitattributes.tmp .gitattributes +fi + if [ ! -d .git ] then git init --shared |