• Bruce Dawson's avatar
    Make the untracked+ignored warning accurate · 4bff3fdc
    Bruce Dawson authored
    If you have too many bytes of untracked+ignored data in your repo then
    gclient sync will fail, confidently telling you how many bytes of this
    type you have. The problem is, it lies. It reports the level as soon as
    it is exceeded, even though it has not finished totaling up the file
    sizes. This change makes the reporting accurate.
    
    I noticed this problem because "gclient sync" told me I had 1049.9 MB
    of untracked data. I deleted some and it then said I had 1563.9 MB of
    untracked data. Hmmm.
    
    Bug: 376099
    Change-Id: I797a4279ad666d83c4a5fbd54bdf7ddbf0e7ad84
    Reviewed-on: https://chromium-review.googlesource.com/850854
    Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
    Reviewed-by: 's avatarAaron Gable <agable@chromium.org>
    4bff3fdc
git_common.py 29.2 KB