Skip to content

Commit

Permalink
Fix diff
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorenar committed Oct 30, 2023
1 parent 3d1cde8 commit 0e5578e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git-fmt-diff
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,8 @@ git_diff () (
# shellcheck disable=SC2086
git diff $color "$b_raw" "$chng_fmt" | \
sed \
-e "s/$(sed_esc -p "a$b_raw")/$(sed_esc -s "$filename")/g" \
-e "s/$(sed_esc -p "b$chng_fmt")/$(sed_esc -s "$filename")/g"
-e "s/$(sed_esc -p "a$b_raw")/$(sed_esc -s a/"$filename")/g" \
-e "s/$(sed_esc -p "b$chng_fmt")/$(sed_esc -s b/"$filename")/g"
)

git_retrieve_file_from_sha () (
Expand Down

0 comments on commit 0e5578e

Please sign in to comment.