git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v11 00/15] *** Interactive git-clean ***

From
Jiang Xin <worldhello.net@gmail.com>
Date
May 17, 2013, 09:20 UTC
Message-ID
<cover.1368782129.git.worldhello.net@gmail.com>
Update since v10:
* Patch 2/15: add test cases for relative_test() in t0060
  and test-path-utils.
* Rewrite if...else... to switch...case...
* Fixed typo in commit logs.
Jiang Xin (15):
  path.c: refactor relative_path(), not only strip prefix
  test: test relative_path through test-path-utils
  quote.c: remove path_relative, use relative_path instead
  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
 Documentation/config.txt     |  21 +-
 Documentation/git-clean.txt  |  71 +++-
 builtin/clean.c              | 778 +++++++++++++++++++++++++++++++++++++++++--
 builtin/grep.c               |   5 +-
 builtin/ls-files.c           |  16 +-
 cache.h                      |   2 +-
 path.c                       | 112 +++++--
 quote.c                      |  65 +---
 quote.h                      |   7 +-
 setup.c                      |   5 +-
 t/t0060-path-utils.sh        |  23 ++
 t/t7301-clean-interactive.sh | 439 ++++++++++++++++++++++++
 test-path-utils.c            |  24 ++
 wt-status.c                  |  17 +-
 14 files changed, 1434 insertions(+), 151 deletions(-)
 create mode 100755 t/t7301-clean-interactive.sh
-- 
1.8.3.rc2.380.g956c2b2
Next: Jiang Xin
Message 1 of 16 in “*** Interactive git-clean ***”
  1. 00/15 *** Interactive git-clean ***Jiang Xin, May 17, 2013
  2. 01/15 path.c: refactor relative_path(), not only strip prefixJiang Xin, May 17, 2013
  3. 02/15 test: test relative_path through test-path-utilsJiang Xin, May 17, 2013
  4. 03/15 quote.c: remove path_relative, use relative_path insteadJiang Xin, May 17, 2013
  5. 04/15 Refactor quote_path_relative, remove unused paramsJiang Xin, May 17, 2013
  6. 05/15 Refactor write_name_quoted_relative, remove unused paramsJiang Xin, May 17, 2013
  7. 06/15 git-clean: refactor git-clean into two phasesJiang Xin, May 17, 2013
  8. 07/15 git-clean: add support for -i/--interactiveJiang Xin, May 17, 2013
  9. 08/15 git-clean: show items of del_list in columnsJiang Xin, May 17, 2013
  10. 09/15 git-clean: add colors to interactive git-cleanJiang Xin, May 17, 2013
  11. 10/15 git-clean: use a git-add-interactive compatible UIJiang Xin, May 17, 2013
  12. 11/15 git-clean: add filter by pattern interactive actionJiang Xin, May 17, 2013
  13. 12/15 git-clean: add select by numbers interactive actionJiang Xin, May 17, 2013
  14. 13/15 git-clean: add ask each interactive actionJiang Xin, May 17, 2013
  15. 14/15 git-clean: add documentation for interactive git-cleanJiang Xin, May 17, 2013
  16. 15/15 test: add t7301 for git-clean--interactiveJiang Xin, May 17, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.