From: Shane Jaroch Date: Sat, 17 Jan 2026 07:53:03 +0000 (-0500) Subject: lint X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=db9b1fb44990cd254d32e142c7d4f6561a2b6046;p=gamesguru%2Fgit-remote-gcrypt.git lint --- diff --git a/.github/workflows/termux-android.yml b/.github/workflows/termux-android.yml index dbd59aa..465f904 100644 --- a/.github/workflows/termux-android.yml +++ b/.github/workflows/termux-android.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v4 - name: Fix permissions for Docker - run: chmod -R 777 . + run: chmod -R u+rwX,go+rX . - name: Run tests in Termux run: | diff --git a/completions/fish/git-remote-gcrypt.fish b/completions/fish/git-remote-gcrypt.fish index 9a6a0bd..60cb262 100644 --- a/completions/fish/git-remote-gcrypt.fish +++ b/completions/fish/git-remote-gcrypt.fish @@ -13,8 +13,6 @@ complete -c git-remote-gcrypt -n "__fish_seen_subcommand_from check" -a "(git re complete -c git-remote-gcrypt -n "__fish_seen_subcommand_from stat" -a "(git remote 2>/dev/null)" -d 'Git Remote' # Clean flags -complete -c git-remote-gcrypt -f -n "__fish_seen_subcommand_from clean" -l force -d ' Actually delete files (default is scan only) - Allow cleaning uninitialized repos (requires --force) - Override safety checks (requires --force)' +complete -c git-remote-gcrypt -f -n "__fish_seen_subcommand_from clean" -l force -d ' Actually delete files (default is scan only)' complete -c git-remote-gcrypt -f -n "__fish_seen_subcommand_from clean" -l init -d ' Allow cleaning uninitialized repos (requires --force)' complete -c git-remote-gcrypt -f -n "__fish_seen_subcommand_from clean" -l hard -d ' Override safety checks (requires --force)' diff --git a/completions/gen_docs.sh b/completions/gen_docs.sh index acca7e5..3d03d4f 100755 --- a/completions/gen_docs.sh +++ b/completions/gen_docs.sh @@ -109,7 +109,7 @@ CLEAN_FLAGS_FISH=$(echo "$CLEAN_FLAGS_RAW" | while read -r line; do # Description is looked up separately via grep because it contains spaces # escape single quotes for Fish string - desc=$(echo "$RAW_HELP" | grep -F -- "$line" | sed 's/^[[:space:]]*//' | cut -d ' ' -f 3- | sed "s/'/\\\\'/g") + desc=$(echo "$RAW_HELP" | grep -F -- "$line" | head -n 1 | sed 's/^[[:space:]]*//' | cut -d ' ' -f 3- | sed "s/'/\\\\'/g") if [[ $f1 == -* ]] && [[ $f2 == --* ]]; then short="${f1#-}"