You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Changes since v3:
- reworded 3/5's commit message according to Junio's suggestion.
- fixed a tyop in 4/5's commit message, pointed out by Jakub.
- marked the hint "please commit or stash them" (reintroduced from the
original git-pull.sh script) as translatable.
- changed the exit code to 128 (emulating a die()) if
require_clean_work-tree() was asked to be non-gentle.
- fixed a tyop in 3/6 (which was replaced in 4/6, but it is good not to
introduce bugs only to fix them right away).
- prefixed the commit message of 4/6 with the "wt-status:" prefix,
replicating Junio's commit message in the `pu` branch.
Johannes Schindelin (6):
pull: drop confusing prefix parameter of die_on_unclean_work_tree()
pull: make code more similar to the shell script again
wt-status: make the require_clean_work_tree() function reusable
wt-status: export also the has_un{staged,committed}_changes()
functions
wt-status: teach has_{unstaged,uncommitted}_changes() about submodules
wt-status: begin error messages with lower-case
builtin/pull.c | 71 +++-------------------------------------------------
wt-status.c | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
wt-status.h | 6 +++++
3 files changed, 87 insertions(+), 68 deletions(-)
Submitted-As: https://public-inbox.org/git/cover.1475856491.git.johannes.schindelin@gmx.de
In-Reply-To: https://public-inbox.org/git/cover.1473580914.git.johannes.schindelin@gmx.de
In-Reply-To: https://public-inbox.org/git/cover.1472137582.git.johannes.schindelin@gmx.de
In-Reply-To: https://public-inbox.org/git/cover.1475586229.git.johannes.schindelin@gmx.de