Open
Description
HI,
We are using Git Jupyterlab extension on a directory mounted by S3-fuse. Poll on status
api triggers git diff --numstat -z --cached 4b825dc642cb6eb9a060e54bf8d69288fbee4904
exec which in triggers burst of s3 API requests.
Question:
Why we do need to compare current stage with empty tree (from using --cached 4b825dc642cb6eb9a060e54bf8d69288fbee4904
) to render the diff in the extension UI? I modified the plugin to use git diff --numstat -z
(which doesnt trigger too many S3 requests) and I see that same information in the extension as before. I am interested in use-cases that would require us to compare current stage with empty tree.
Thanks a lot for your help in advance!