ports/devel/got/files/patch-regress_cmdline_histedit.sh
Christian Weisgerber efd08bde22 devel/got: update to 0.50
User-visible changes:
- use Myers diff instead of Patience diff when merging files with diff3
- improve got log -x documentation
- improve got ref -d documentation
- ensure that old commits remain referenced after rebase and histedit
- new got rebase -l option which lists past rebase operations
- new got histedit -l option which lists past histedit operations
2021-03-23 15:30:58 +00:00

20 lines
514 B
Bash

--- regress/cmdline/histedit.sh.orig 2021-03-22 10:05:11 UTC
+++ regress/cmdline/histedit.sh
@@ -1507,7 +1507,7 @@ test_histedit_fold_only() {
cat > $testroot/editor.sh <<EOF
#!/bin/sh
-sed -i 's/.*/committing folded changes/' "\$1"
+sed -i '' 's/.*/committing folded changes/' "\$1"
EOF
chmod +x $testroot/editor.sh
@@ -1623,7 +1623,7 @@ test_histedit_fold_only_empty_logmsg() {
cat > $testroot/editor.sh <<EOF
#!/bin/sh
-sed -i 'd' "\$1"
+sed -i '' 'd' "\$1"
EOF
chmod +x $testroot/editor.sh