ports/devel/got/files/patch-regress_cmdline_common.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

23 lines
368 B
Bash

--- regress/cmdline/common.sh.orig 2021-03-22 10:05:11 UTC
+++ regress/cmdline/common.sh
@@ -26,6 +26,20 @@ export GOT_TEST_ROOT="/tmp"
export MALLOC_OPTIONS=S
+# compat wrapper
+sed()
+(
+ for i; do
+ arg=$1
+ shift
+ case $arg in
+ -i) set - "$@" "$arg" '' ;;
+ *) set - "$@" "$arg" ;;
+ esac
+ done
+ exec sed "$@"
+)
+
git_init()
{
git init -q "$1"