You are not logged in.

#1 2021-06-02 08:32:14

MS1
Member
Registered: 2018-02-02
Posts: 84

Can pacdiff switch the order of files

I just discovered pacdiff. It puts the pacnew on the left and my version on the right in the diff view. Is there a way to reverse it. I like mine on the left and the new on the right.

Offline

#2 2021-06-02 08:52:06

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Can pacdiff switch the order of files

Edit the source:
https://git.archlinux.org/pacman-contri … 010fe#n186

#$diffprog "$pacfile" "$file"
$diffprog "$file" "$pacfile"

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2021-06-02 14:28:51

CarbonChauvinist
Member
Registered: 2012-06-16
Posts: 413
Website

Re: Can pacdiff switch the order of files

Or just manually diff them yourself and then you'll always control the order, for example:

$ SUDO_EDITOR=vimdiff sudoedit /etc/makepkg.conf{,.pacnew}

"the wind-blown way, wanna win? don't play"

Offline

Board footer

Powered by FluxBB