Skip to content
  • Junio C Hamano's avatar
    Merge branch 'bw/ls-files-recurse-submodules' · 1c2b1f70
    Junio C Hamano authored
    "git ls-files" learned "--recurse-submodules" option that can be
    used to get a listing of tracked files across submodules (i.e. this
    only works with "--cached" option, not for listing untracked or
    ignored files).  This would be a useful tool to sit on the upstream
    side of a pipe that is read with xargs to work on all working tree
    files from the top-level superproject.
    
    * bw/ls-files-recurse-submodules:
      ls-files: add pathspec matching for submodules
      ls-files: pass through safe options for --recurse-submodules
      ls-files: optionally recurse into submodules
      git: make super-prefix option
    1c2b1f70