From: Lars Schneider <larsxschnei...@gmail.com>

I am migrating huge Perforce repositories including history to Git. Some of 
them contain large files that would blow up the resulting Git repositories. 
This patch adds an option to store these files in Git LFS [1] on git-p4 clone.

In order to run the unit tests you need to install the Git LFS extension [2].

Known limitations:
The option "use-lfs-if-size-exceeds" looks at the uncompressed file size. 
Sometimes huge XML files are tiny if compressed. I wonder if there is an easy 
way to learn about the size of a file in a git pack file. I assume compressing 
it is the only way to know.

Feedback is highly appreciated.

Thank you,
Lars


[1] https://git-lfs.github.com/
[2] https://github.com/github/git-lfs/releases/

Lars Schneider (1):
  git-p4: add option to store files in Git LFS on import

 Documentation/git-p4.txt |  12 ++
 git-p4.py                |  94 ++++++++++++++--
 t/t9822-git-p4-lfs.sh    | 277 +++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 374 insertions(+), 9 deletions(-)
 create mode 100755 t/t9822-git-p4-lfs.sh

--
1.9.5 (Apple Git-50.3)

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to