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:
Junio C Hamano
2010-09-17 15:39:34 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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 &&