Thread (21 messages) flat view 21 messages, 2 authors, 2016-06-15
STALE3717d

Revision v15 of 5 in this series.

Revisions (5)
  1. v5 [diff vs current]
  2. v6 [diff vs current]
  3. v7 [diff vs current]
  4. v8 [diff vs current]
  5. v15 current

[PATCH v15 00/16] Interactive git clean

From: Jiang Xin <hidden>
Date: 2016-06-15 22:57:55

Update since v14:

 * Add more testcases for relative_path. See patch 01/16.

 * Refactor: change arguments name for relative_path (in path.c),
   i.e. abc -> in, base -> prefix. This is because the first
   argument is not restricted to absolute path any more.
   See patch 02/16.

 * Move git-ls-files fix from patch 05/16 to patch 03/16.
   See patch 03/16.

 * Remove NO_MINGW and related functions from t0060 script.
   See patch 16/16.

Jiang Xin (16):
  test: add test cases for relative_path
  path.c: refactor relative_path(), not only strip prefix
  quote.c: substitute path_relative with relative_path
  Refactor quote_path_relative, remove unused params
  Refactor write_name_quoted_relative, remove unused params
  git-clean: refactor git-clean into two phases
  git-clean: add support for -i/--interactive
  git-clean: show items of del_list in columns
  git-clean: add colors to interactive git-clean
  git-clean: use a git-add-interactive compatible UI
  git-clean: add filter by pattern interactive action
  git-clean: add select by numbers interactive action
  git-clean: add ask each interactive action
  git-clean: add documentation for interactive git-clean
  test: add t7301 for git-clean--interactive
  test: run testcases with POSIX absolute paths on Windows

 Documentation/config.txt     |  21 +-
 Documentation/git-clean.txt  |  71 +++-
 builtin/clean.c              | 778 +++++++++++++++++++++++++++++++++++++++++--
 builtin/grep.c               |   5 +-
 builtin/ls-files.c           |  17 +-
 cache.h                      |   2 +-
 path.c                       | 116 +++++--
 quote.c                      |  65 +---
 quote.h                      |   7 +-
 setup.c                      |   5 +-
 t/t0060-path-utils.sh        |  72 +++-
 t/t7301-clean-interactive.sh | 439 ++++++++++++++++++++++++
 test-path-utils.c            |  32 ++
 wt-status.c                  |  17 +-
 14 files changed, 1474 insertions(+), 173 deletions(-)
 create mode 100755 t/t7301-clean-interactive.sh

-- 
1.8.3.1.756.g2e9b71f
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help