git-repo/docs
XD Trol 630876f9e4 init: add an option --enable-git-lfs-filter
It was reported that git-lfs did not work with git-repo. Specifically,
`git read-tree -u` run by `repo sync` would fail git-lfs's smudge
filter. See https://github.com/github/git-lfs/issues/1422.

In fact, by the time `git read-tree -u` is run, the repository is not
bare. It is just that, the working directory is not the same as the
.git directory. git-lfs's filter should work. No one seems to have
delved into that issue.

Today, with newer versions of git-repo and git-lfs, that issue will
not reproduce. Tested with
- git 2.33, git-lfs 2.13 on macOS
- git 2.17, git-lfs 2.3 on ubuntu

So, it seems fine to add an option --enable-git-lfs-filter, default to
false, and stat that it may not work with older versions of git and
git-lfs in the help doc.

Bug: https://crbug.com/gerrit/14516
Change-Id: I8d21854eeeea541e072f63d6b10ad1253b1a9826
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/328359
Tested-by: XD Trol <milestonejxd@gmail.com>
Reviewed-by: Mike Frysinger <vapier@google.com>
2022-01-26 01:47:20 +00:00
..
internal-fs-layout.md init: add an option --enable-git-lfs-filter 2022-01-26 01:47:20 +00:00
manifest-format.md Add 'dest-path' to extend-project to support changing path 2021-09-28 20:12:00 +00:00
python-support.md switch to "main" branch for development 2020-11-16 05:07:33 +00:00
release-process.md release-process: update distro baseline & add OpenSSH 2021-09-24 16:42:56 +00:00
repo-hooks.md switch to "main" branch for development 2020-11-16 05:07:33 +00:00
windows.md docs: update Windows info 2020-02-22 04:56:24 +00:00