Why are generated files kept in git?
#1
Code:
$ git checkout master
error: Your local changes to the following files would be overwritten by checkout:
        xbmc/lib/libid3tag/libid3tag/Makefile.in
        xbmc/lib/libid3tag/libid3tag/aclocal.m4
        xbmc/lib/libid3tag/libid3tag/config.h.in
        xbmc/lib/libid3tag/libid3tag/configure
        xbmc/lib/libid3tag/libid3tag/msvc++/Makefile.in
Please, commit your changes or stash them before you can switch branches.
Aborting

Why are the configure generated files not left out of git?
Reply
#2
zener Wrote:
Code:
$ git checkout master
error: Your local changes to the following files would be overwritten by checkout:
        xbmc/lib/libid3tag/libid3tag/Makefile.in
        xbmc/lib/libid3tag/libid3tag/aclocal.m4
        xbmc/lib/libid3tag/libid3tag/config.h.in
        xbmc/lib/libid3tag/libid3tag/configure
        xbmc/lib/libid3tag/libid3tag/msvc++/Makefile.in
Please, commit your changes or stash them before you can switch branches.
Aborting

Why are the configure generated files not left out of git?

Those only change if you do an autoconf or autoreconf. Removing these would force everyone to have to autoconf or autoreconf libid3tag even if their distro does not need it.
Reply
#3
davilla Wrote:Those only change if you do an autoconf or autoreconf. Removing these would force everyone to have to autoconf or autoreconf libid3tag even if their distro does not need it.

I thought that everybody who built from source would do a ./bootstrap followed by ./configure?
Reply
#4
zener Wrote:I thought that everybody who built from source would do a ./bootstrap followed by ./configure?

Not everyone is running the exact same system/distro that you are.

./bootstrap
./configure

is standard.

lib/libid3tag/libid3tag might need autoreconf -vif depending on your M4 versions in aclocal that autotools uses. This relates back to your other thread about lib/libid3tag/libid3tag
Reply

Logout Mark Read Team Forum Stats Members Help
Why are generated files kept in git?0