<feed xmlns='http://www.w3.org/2005/Atom'>
<title>etckeeper/commit.d/40git-rm, branch master</title>
<subtitle>Fork of git://git.joeyh.name/etckeeper
</subtitle>
<id>https://emkael.info/cgit/etckeeper/atom?h=master</id>
<link rel='self' href='https://emkael.info/cgit/etckeeper/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://emkael.info/cgit/etckeeper/'/>
<updated>2012-01-14T16:42:46Z</updated>
<entry>
<title>Fix up botched git-rm conffile removal from 0.58.</title>
<updated>2012-01-14T16:42:46Z</updated>
<author>
<name>Joey Hess</name>
<email>joey@kitenet.net</email>
</author>
<published>2012-01-14T16:42:46Z</published>
<link rel='alternate' type='text/html' href='https://emkael.info/cgit/etckeeper/commit/?id=144c438e8e74113dd4c29e38a45eb6481a3271d3'/>
<id>urn:sha1:144c438e8e74113dd4c29e38a45eb6481a3271d3</id>
<content type='text'>
The file could be in any of three states; absent, present, or .dpkg-dist.

Finish fully removing it. Closes: #655836
</content>
</entry>
<entry>
<title>Rewrote 50git-rm</title>
<updated>2011-01-13T18:27:19Z</updated>
<author>
<name>Joey Hess</name>
<email>joey@kitenet.net</email>
</author>
<published>2011-01-13T18:11:54Z</published>
<link rel='alternate' type='text/html' href='https://emkael.info/cgit/etckeeper/commit/?id=bbc4dc023152fea97c1fa7d338417d1b3f9a1607'/>
<id>urn:sha1:bbc4dc023152fea97c1fa7d338417d1b3f9a1607</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Prevent git from removing a directory when the last file in it has been removed, but the directory is left existing and empty, by touching a flag file before calling git rm. Closes: 513006</title>
<updated>2009-01-25T19:30:48Z</updated>
<author>
<name>Joey Hess</name>
<email>joey@gnu.kitenet.net</email>
</author>
<published>2009-01-25T19:30:36Z</published>
<link rel='alternate' type='text/html' href='https://emkael.info/cgit/etckeeper/commit/?id=76dc563df1afffe55a516714577dafcfb09952bb'/>
<id>urn:sha1:76dc563df1afffe55a516714577dafcfb09952bb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add commit hook script for bzr to add new files</title>
<updated>2008-04-05T19:14:41Z</updated>
<author>
<name>Joey Hess</name>
<email>joey@kodama.kitenet.net</email>
</author>
<published>2008-04-05T19:14:41Z</published>
<link rel='alternate' type='text/html' href='https://emkael.info/cgit/etckeeper/commit/?id=3514e31f18ed1af7d395af0e65c3d90b0bd7305d'/>
<id>urn:sha1:3514e31f18ed1af7d395af0e65c3d90b0bd7305d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove unused TAB settings</title>
<updated>2008-04-05T18:54:20Z</updated>
<author>
<name>Joey Hess</name>
<email>joey@kodama.kitenet.net</email>
</author>
<published>2008-04-05T18:54:20Z</published>
<link rel='alternate' type='text/html' href='https://emkael.info/cgit/etckeeper/commit/?id=92d120f9223995e1bea725f807635881cf3b6ba5'/>
<id>urn:sha1:92d120f9223995e1bea725f807635881cf3b6ba5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>  * Convert the directory parameter of etckeeper into "-d directory".</title>
<updated>2008-01-15T19:21:46Z</updated>
<author>
<name>Joey Hess</name>
<email>joey@kodama.kitenet.net</email>
</author>
<published>2008-01-15T19:21:46Z</published>
<link rel='alternate' type='text/html' href='https://emkael.info/cgit/etckeeper/commit/?id=c8f16796c6c72251814626ccf911d8f025cc60f3'/>
<id>urn:sha1:c8f16796c6c72251814626ccf911d8f025cc60f3</id>
<content type='text'>
  * 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.
</content>
</entry>
</feed>
