Merge remote-tracking branch 'AndrewVos/patch-1'

This commit is contained in:
Maxime Coste 2022-04-25 19:29:42 +10:00
commit f953ce1746

View File

@ -157,7 +157,7 @@ define-command -params 1.. \
update_diff() { update_diff() {
( (
cd_bufdir cd_bufdir
git --no-pager diff -U0 "$kak_buffile" | perl -e ' git --no-pager diff --no-ext-diff -U0 "$kak_buffile" | perl -e '
$flags = $ENV{"kak_timestamp"}; $flags = $ENV{"kak_timestamp"};
foreach $line (<STDIN>) { foreach $line (<STDIN>) {
if ($line =~ /@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))?/) { if ($line =~ /@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))?/) {