I would like to make clean commits with etckeeper. Here is what happens:
1) Check the status of the repository :
git status On branch master nothing to commit, working directory clean
2) Modify a configuration file :
3) Add it to the index
git add myfile.conf
4) Make a commit
git commit -m"Add this ... to myfile.conf"
5) Observe the commit :
git log -p -1 [...] maybe chmod 0644 'magic.mime' -maybe chmod 0644 'mail.rc' maybe chmod 0644 'mailcap' maybe chmod 0644 'mailcap.order' maybe chmod 0644 'mailname' +maybe chmod 0644 'mail.rc' maybe chmod 0644 'manpath.config' maybe chmod 0644 'matplotlibrc' maybe chmod 0755 'maven' [...] (My modification to myfile.conf) [...]
I understand that etckeeper need to keep track of file permissions in the git repository even if I don't understand the purpose of this reordering. I would like to separate in distinct commits all modifications related to the
./etckeeper directory and modifications related to the content of the configuration files.
How to do it?