[pacman-dev] distclean and *.po

Dan McGee dpmcgee at gmail.com
Wed Apr 4 10:03:15 EDT 2012


On Tue, Apr 3, 2012 at 5:54 PM, Arokux B. <arokux at gmail.com> wrote:
> Hi,
>
> I've executed `make distclean' but there are still modified *.po
> files. Is there a way to revert those changes other than doing `git
> reset --hard HEAD', i.e. make <some>clean?

Nope. autotools is not a VCS, it doesn't store unmodified versions of
files. I usually use something like the following:

find -name '*.po' -o -name '*.pot' | xargs git checkout


More information about the pacman-dev mailing list