Skip to content
  • Junio C Hamano's avatar
    Merge branch 'nd/untracked-cache' · 38ccaf93
    Junio C Hamano authored
    Teach the index to optionally remember already seen untracked files
    to speed up "git status" in a working tree with tons of cruft.
    
    * nd/untracked-cache: (24 commits)
      git-status.txt: advertisement for untracked cache
      untracked cache: guard and disable on system changes
      mingw32: add uname()
      t7063: tests for untracked cache
      update-index: test the system before enabling untracked cache
      update-index: manually enable or disable untracked cache
      status: enable untracked cache
      untracked-cache: temporarily disable with $GIT_DISABLE_UNTRACKED_CACHE
      untracked cache: mark index dirty if untracked cache is updated
      untracked cache: print stats with $GIT_TRACE_UNTRACKED_STATS
      untracked cache: avoid racy timestamps
      read-cache.c: split racy stat test to a separate function
      untracked cache: invalidate at index addition or removal
      untracked cache: load from UNTR index extension
      untracked cache: save to an index extension
      ewah: add convenient wrapper ewah_serialize_strbuf()
      untracked cache: don't open non-existent .gitignore
      untracked cache: mark what dirs should be recursed/saved
      untracked cache: record/validate dir mtime and reuse cached output
      untracked cache: make a wrapper around {open,read,close}dir()
      ...
    38ccaf93