Skip to content

Commit

Permalink
gh-fzf: fix inline diff width in events
Browse files Browse the repository at this point in the history
  • Loading branch information
mgnsk committed Feb 11, 2025
1 parent e661bd7 commit 9e36ab4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .bin/gh-fzf
Original file line number Diff line number Diff line change
Expand Up @@ -472,8 +472,7 @@ function get-event-diff {
gh api \
--cache="1m" \
-H "Accept: application/vnd.github.v3.diff" \
"/repos/$repo/pulls/$number" |
deltafull
"/repos/$repo/pulls/$number"
elif [ "$diff" != "null" ]; then
repo=$(echo "$diff" | gojq -r '.repo')
before=$(echo "$diff" | gojq -r '.before')
Expand Down

0 comments on commit 9e36ab4

Please sign in to comment.