Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-01-13 | Rewrote 50git-rm | Joey Hess | |
This avoids using git ls-files, and thus avoids encoding problems with filenames. Using git add . -u stages all deleted files for deletion. It also avoids the problem with git rm deleting empty directories. It might be better to just use git commit -a, but I've taken the conservative approach. There are a few other git ls-files uses in etckeeper that I have not fixed, but they are only shown to the user, and shouldn't cause a crash as this did. Unfortunatly, git does expose the nasty C-style encoding of such characters in filenames to the user all over (eg, git commit, git log ..), so fixing etckeeper to not also expose them is probably a waste of time. And core.quotepath can be unset by users who want to clean that up. Bug report: https://bugzilla.altlinux.org/show_bug.cgi?id=24903 | |||
2009-01-25 | Prevent git from removing a directory when the last file in it has been ↵ | Joey Hess | |
removed, but the directory is left existing and empty, by touching a flag file before calling git rm. Closes: 513006 | |||
2008-04-05 | Add commit hook script for bzr to add new files | Joey Hess | |
2008-04-05 | remove unused TAB settings | Joey Hess | |
2008-01-15 | * Convert the directory parameter of etckeeper into "-d directory". | Joey Hess | |
* Pass other patameters on from etckeeper to the .d scripts. * Stop using run-parts for various reasons. * Split out a commit.d that contains committing code that's used by both the pre-install.d and post-install.d scripts. * Split out an unclean.d that tests if the WC contains uncommitted changes. * Add preinst code to remove old post-install.d scripts. |