diff options
author | http://joeyh.name/ <http://joeyh.name/@web> | 2013-12-16 17:14:06 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2013-12-16 17:14:06 +0000 |
commit | bcc793641212f8000e524a8581c8974370f8e607 (patch) | |
tree | 97a5235f3a16d899d4226e95ffa52a90e75ff01a | |
parent | be6cc4681f1a5a792ca2fe1da474b077f5b74b4e (diff) |
Added a comment
-rw-r--r-- | doc/bugs/direct_mode_sync_should_avoid_git_commit/comment_2_4e23201d1d1d549f72eec75987601a73._comment | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/bugs/direct_mode_sync_should_avoid_git_commit/comment_2_4e23201d1d1d549f72eec75987601a73._comment b/doc/bugs/direct_mode_sync_should_avoid_git_commit/comment_2_4e23201d1d1d549f72eec75987601a73._comment new file mode 100644 index 000000000..5b1f7ab75 --- /dev/null +++ b/doc/bugs/direct_mode_sync_should_avoid_git_commit/comment_2_4e23201d1d1d549f72eec75987601a73._comment @@ -0,0 +1,13 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="209.250.56.87" + subject="comment 2" + date="2013-12-16T17:14:06Z" + content=""" +It seems that `ls-files --modified` runs the same code path that commit did to see if the file is changed, which here is a cheap +stat, and on your system mmaps and downloads it all. + +I cannot see a good way to avoid using `ls-files --modified`. + +I think it would be better to fix git. +"""]] |