Update 2024-12-26 17:21 OpenBSD/amd64-t14

This commit is contained in:
c0dev0id
2024-12-26 17:21:55 +01:00
parent 3768436e21
commit 7c5d1f298f
4 changed files with 20 additions and 27 deletions

View File

@@ -133,27 +133,6 @@ then
vimdiff "$_dir/$f" "${_dir%$_env}$2/$f"
fi
if [ "$_action" == "diffdir" ]
then
if test -z "$1" || test -z "$2"
then
echo "args: <commits> <env>"
exit 1
fi
flist="$(git --no-pager whatchanged \
--oneline \
--pretty=format:'' ...HEAD~$1 \
| cut -d"M" -f2- \
| sort -u \
| xargs)"
for file in $flist
do
f="$(readlink -f $_oldpwd/$file)"
f="${file#$_dir}"
vimdiff "$_dir/$f" "${_dir%$_env}$2/$f"
done
fi
if [ "$_action" == "pr" ]
then
if [ -n "$1" ]