mirror of
https://github.com/git/git.git
synced 2026-03-20 05:30:12 +01:00
Merge branch 'master' into next
* master:
git-rebase--interactive.sh: replace cut with ${v%% *}
t/t7300: workaround ancient touch by rearranging arguments
This commit is contained in:
@@ -626,7 +626,7 @@ skip_unnecessary_picks () {
|
||||
case "$fd,$command" in
|
||||
3,pick|3,p)
|
||||
# pick a commit whose parent is current $ONTO -> skip
|
||||
sha1=$(printf '%s' "$rest" | cut -d ' ' -f 1)
|
||||
sha1=${rest%% *}
|
||||
case "$(git rev-parse --verify --quiet "$sha1"^)" in
|
||||
"$ONTO"*)
|
||||
ONTO=$sha1
|
||||
|
||||
@@ -443,7 +443,7 @@ test_expect_success 'git clean -e' '
|
||||
(
|
||||
cd repo &&
|
||||
git init &&
|
||||
touch 1 2 3 known &&
|
||||
touch known 1 2 3 &&
|
||||
git add known &&
|
||||
git clean -f -e 1 -e 2 &&
|
||||
test -e 1 &&
|
||||
|
||||
Reference in New Issue
Block a user