]> git.ipfire.org Git - thirdparty/git.git/commit - git-p4.py
git-p4: check free space during streaming
authorLars Schneider <larsxschneider@gmail.com>
Sat, 26 Sep 2015 07:55:02 +0000 (09:55 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 3 Oct 2015 17:21:13 +0000 (10:21 -0700)
commit4d25dc4475639395b4c567d947218613de359f09
tree29f64051d577ed0343fbf733b67af9888caa4970
parentd2176a5060c73a04846e270ab07b90aad4d8b8f0
git-p4: check free space during streaming

git-p4 will just halt if there is not enough disk space while
streaming content from P4 to Git. Add a check to ensure at least
4 times (arbitrarily chosen) the size of a streamed file is available.

Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-p4.py