[PATCH 0/6] Pull out require_clean_work_tree() functionality from builtin/pull.c
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Aug 25, 2016, 15:06 UTC
- Message-ID
- <cover.1472137582.git.johannes.schindelin@gmx.de>
This is the 5th last patch series of my work to accelerate interactive rebases in particular on Windows.
Basically, all it does is to make reusable some functions that were ported over from git-pull.sh but made private to builtin/pull.c.
An earlier attempt included only the first patch, and somehow it failed to convince our good Git maintainer without mentioning that it is part of something much bigger:
http://public-inbox.org/git/974d0bfed38e8aa410e97e05022bc5dbbd78d915.1457615785.git.johannes.schindelin@gmx.de/
However, now that I have this big carrot (3x speedup on Linux, 4x speedup on MacOSX and 5x speedup on Windows), it cannot possibly fail. *thumbs-crossed*
Johannes Schindelin (6):
pull: drop confusing prefix parameter of die_on_unclean_work_tree()
pull: make code more similar to the shell script again
Make the require_clean_work_tree() function truly reusable
require_clean_work_tree: ensure that the index was read
Export also the has_un{staged,committed}_changed() functions
wt-status: teach has_{unstaged,uncommitted}_changes() about submodulesbuiltin/pull.c | 71 +++---------------------------------------------- wt-status.c | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ wt-status.h | 5 ++++ 3 files changed, 91 insertions(+), 68 deletions(-)
Published-As: https://github.com/dscho/git/releases/tag/require-clean-work-tree-v1 Fetch-It-Via: git fetch https://github.com/dscho/git require-clean-work-tree-v1
-- 2.10.0.rc1.99.gcd66998 base-commit: 2632c897f74b1cc9b5533f467da459b9ec725538