]> git.ipfire.org Git - thirdparty/git.git/commit - git-p4.py
git-p4: do not fail in verbose mode for missing 'fileSize' key
authorLuke Diamand <luke@diamand.org>
Fri, 12 Oct 2018 05:28:31 +0000 (06:28 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 Oct 2018 13:38:29 +0000 (22:38 +0900)
commit0742b7c860a4291868dec79b90a217db6b129d2b
tree940ea57b331bb51c2c3b438e2f32634fff29f2cb
parent5a0cc8aca797dbd7d2be3b67458ff880ed45cddf
git-p4: do not fail in verbose mode for missing 'fileSize' key

If deleting or moving a file, sometimes P4 doesn't report the file size.

The code handles this just fine but some logging crashes. Stop this
happening.

There was some earlier discussion on the list about this:

https://public-inbox.org/git/xmqq1sqpp1vv.fsf@gitster.mtv.corp.google.com/

Signed-off-by: Luke Diamand <luke@diamand.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-p4.py