summaryrefslogtreecommitdiff
path: root/commit.d
AgeCommit message (Collapse)Author
2010-10-20Deal with strange systems that include the domain name in the hostname, by ↵Joey Hess
stripping it. Closes: #600026
2010-10-20Set GIT_COMMITTER_EMAIL to root@$hostname to avoid git prompting the user to ↵Joey Hess
configure it in .gitconfig. Closes: #599749
2010-09-11Ignore -m switch to etckeeper commit, in case someone tries to use it with ↵Joey Hess
that option common to several VCS. Closes: #592050
2010-06-02Fix backwards test for HGUSER. (Mike Rich)Joey Hess
2010-05-28Both git and bzr default to showing the author of a commit, and not the ↵Joey Hess
committer. So, set the author to the user running sudo for both. The committer will then be root.
2010-05-28hg: Set HGUSER (if not already set) to avoid warning message when ↵Joey Hess
committing. Closes: #533298
2010-05-16Support etckeeper commit --stdinJoey Hess
2010-04-15missing rmJoey Hess
2010-04-15Fix logic error in darcs user code. Closes: #577918Joey Hess
2010-04-15Revert darcs to using --logfile again, necessary for multiline commit ↵Joey Hess
messages. Closes: #577915
2010-04-08Avoid using hostname -f, since on Solaris that sets the hostname to -f. Yay, ↵Joey Hess
Unix portability! (Instead, use dnsdomainname if available, and otherwise, fall back to the unqualified hostname.)
2010-03-12darcs cleanupJoey Hess
* Changed darcs to specify --author instead of noting the committing user inside the commit log. * Add -a to DARCS_COMMIT_OPTIONS so commits are noninteractive by default, but users who want darcs prompting can disable it. * Use darcs record -m to specify commit message, instead of using a logfile.
2010-02-18Record real committer username in the darcs log, so that the man page can ↵Joey Hess
say that for every VCS the username is recorded.
2010-02-18Check owner of tty to determine who has su'd to root when committing, based ↵Joey Hess
on a patch by Jakov Sosic.
2009-07-19bzr: Set author to root when committing via sudo. Committer will be the sudo ↵Joey Hess
user, as it is in git.
2009-06-28Use hostname if hostname -f fails. Closes: #533295Joey Hess
2009-02-13Fix executable bits on two darcs support scripts.Joey Hess
2009-02-04Support darcs. Thanks to Gian Piero Carrubba. Closes: #510032Joey Hess
2009-01-28Use SUDO_USER as the committer if set. Closes: #498739 (Thierry Carrez)Joey Hess
2009-01-25Prevent 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-05-30Make 'bzr add' quiet so new files aren't printed to stdout twice.Jelmer Vernooij
2008-04-05Remove pointless bzr-rm script.Jelmer Vernooij
2008-04-05Merge commit 'jelmer/master'Joey Hess
Conflicts: debian/changelog
2008-04-05Add commit hook script for bzr to add new filesJoey Hess
2008-04-05Remove now obsolete precommit script for bzr.Jelmer Vernooij
2008-04-05Add commit hook script for bzr to add new filesdAniel hAhler
Committing fails with "bzr", if there are only new files and new files probably never get added. This script adds the files during the "commit" process.
2008-04-05remove unused TAB settingsJoey Hess
2008-03-11* Add support for bzr, thanks to Mark A. Hershberger. Closes: #470515Joey Hess
(Note that bzr does not support etckeeper's pre-commit hook.)
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.