Skip to content

Commit

Permalink
Add support for repos using Git-LFS
Browse files Browse the repository at this point in the history
  • Loading branch information
bgandon committed Feb 13, 2024
1 parent 898bb28 commit e53a930
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tasks/git/commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ find "repo" -mindepth 1 -maxdepth 1 -print0 \
| xargs -0 -I{} cp -a {} "repo-committed"

pushd "repo-committed" > /dev/null
if [[ -f ".gitattributes" ]] && grep -qF "lfs" ".gitattributes"; then
git lfs install
fi
git config "color.ui" "always"
git status
git diff ${GIT_DIFF_OPTS} | cat
Expand Down

0 comments on commit e53a930

Please sign in to comment.