Commit graph

77 commits

Author SHA1 Message Date
e2c939cb8e Rename test setup function
I’d like to rename other functions as well, but especially with the commands and
variables I’m afraid of breaking configurations. I don’t have to worry about
that so much yet with the test functions.
2020-08-18 23:32:07 -07:00
23abaff792 Add github workflow that runs buttercup on push and pull requests 2020-08-18 22:08:58 -07:00
Oleg Pykhalov
2d48b8296d
Configure Git in tests 2020-08-18 22:05:01 +03:00
5755d36c03 Fix issue with having ‘[’ in the path
Having a ‘[’ messed up the regular expression used because it wasn’t being
properly escaped.
2020-08-01 00:48:44 -07:00
Adel Qalieh
14e4def248 Add option to have it be completely silent when committing 2020-07-05 10:28:19 -04:00
Adel Qalieh
2c0488869a Add config to add flags for git commit command and document both 2020-07-05 10:23:45 -04:00
Matthew McClure
dd0c2441de
Replace 404 URL with github.com page 2020-03-22 16:07:48 -04:00
ae69e61233 Bump version 2020-02-17 15:48:12 -08:00
106fc3c8b4 Update contributing instructions 2020-01-12 17:56:17 -08:00
6f7b58f866 Merge remote-tracking branch 'ThibautVerron/Commit-msg' 2019-12-14 02:21:35 -08:00
Holger Wenzel
aff67aa36d added flag for git add command 2019-12-14 02:10:38 -08:00
4cfc906cb4 Expand explanation of directory-local variables 2019-12-10 21:46:05 -08:00
3e5fab83a5 Update README.org to follow new org-mode indentation
org-mode 9.3 started indenting description lists as normal, this commit makes
the README.org follow that indentation.
2019-12-10 21:41:51 -08:00
d8d9dab5d2 Add option to prevent new files from being added to git
Setting ‘gac-automatically-add-new-files-p’ to t will tell git-auto-commit-mode
not to try adding new files to the git repository.
2019-12-10 21:39:06 -08:00
b0db5b841b Fix new files not being committed
When deciding if a file should be committed or not, also check to see if the
file has been committed before.
2019-12-10 21:18:17 -08:00
Thibaut Verron
24c8e7b0fe Add setting for changing the default message 2019-11-21 13:10:05 +01:00
Thibaut Verron
ea3b5c0d91 Auto commit: /home/guests/verron/Development/git-auto-commit-mode/git-auto-commit-mode.el 2019-11-21 13:08:30 +01:00
Thibaut Verron
392ca73178 Auto commit: /home/guests/verron/Development/git-auto-commit-mode/git-auto-commit-mode.el 2019-11-21 13:07:48 +01:00
Thibaut Verron
a597d6920a git-auto-commit-mode.el 2019-11-21 13:04:33 +01:00
Thibaut Verron
4a8a7e0271 git-auto-commit-mode.el 2019-11-21 13:02:03 +01:00
2f05046731 Consistently apply the code markup to customization options 2019-10-07 21:34:53 -07:00
fc94d0df93 Document the behaviour of ‘C-g’ in the summary entry 2019-10-07 21:33:09 -07:00
5bb26c6384 Don’t commit when there are no changes
Before trying to commit, run a ‘git diff’ to make sure there are any changes to
commit. If this turns up empty no commit is attempted.
2019-10-07 21:29:12 -07:00
3db70af7d3 Update version to v4.5.0 2019-10-07 20:40:04 -07:00
23a0224a00 Update README 2019-10-07 20:37:02 -07:00
Constantine Vetoshev
e533166a22 Fix automatic Git push when used with debouncing. 2019-07-16 12:36:37 -07:00
Constantine Vetoshev
fa8865bf49 Fix whitespace. 2019-07-11 09:30:01 -07:00
Constantine Vetoshev
0ac5025766 Code review fixes. 2019-07-11 09:24:58 -07:00
Constantine Vetoshev
074739d78f Add support for commit debouncing.
This patch prevents frequent saves from making an excessively large number of
commits. With gac-debounce-interval (a buffer-specific variable) set to a number
representing seconds, buffers with git-auto-commit-mode active will only make
Git commits at the end of the given interval after a save. So with
gac-debounce-interval set to 300, a buffer will commit changes accumulated over
5 minutes, rather than at every save. It will also commit if the buffer is
killed.

This mode of operation can be made default with, e.g.:

    (setq-default gac-debounce-interval 300)
2018-06-22 21:57:16 -07:00
Stig Brautaset
2c8197e5d7 Support fish which uses "; and" rather than "&&" to join commands 2016-12-29 16:17:29 +00:00
075e5f9ded Bump version 2015-04-04 16:51:09 +02:00
b151584256 Update copyright and url headers 2015-04-04 16:49:15 +02:00
fa4e042f8d Update NEWS 2015-04-04 16:49:03 +02:00
7b370eeb37 Update README 2015-04-04 16:46:43 +02:00
9edaf8243d Cleanup git-commit slightly 2015-04-03 09:48:51 +02:00
858dc816f1 Merge remote-tracking branch 'owengriffin/windows-support' 2015-04-03 09:42:29 +02:00
Owen Griffin
acf6a60578 Wrap git commit message in shell-quote-argument 2015-04-02 22:52:31 +01:00
Owen Griffin
344667ee75 Use default-directory for git commit
- Uses double-quotes for commit message to support filenames with spaces
  on Windows
- file-name-nondirectory is necessary for Windows support, otherwise the
  drive name (C:\) is included in the path
2015-04-02 21:20:34 +01:00
Owen Griffin
ca96589764 Support Windows paths
- Changes the current directory before commit
- Quotes the filename arguments using shell-quote-argument
2015-04-01 21:30:21 +01:00
e7b3a146b8 Show MELPA badges in README 2015-03-21 15:19:02 +01:00
4685b7ee16 Bump version 2015-03-21 15:12:50 +01:00
c3f42d0635 Merge remote-tracking branch 'mbreit/quote-filename' 2015-03-21 15:04:15 +01:00
Moritz Breit
e11eb392c0 Quote filename for git add
Fixes git-auto-commit-mode for files with spaces in the filename.
2015-03-20 21:13:15 +01:00
7e4ed5f07a Bump version 2014-12-29 20:42:15 +01:00
0e8c5e8d3f Update NEWS 2014-12-29 20:39:28 +01:00
b36909ab64 Update copyright years 2014-12-29 20:38:59 +01:00
058c55cf2a Add option to ask for a summary
When this option is enabled, whenever a commit is about to be made a
summary of the commit's changes is asked of the user. If no summary is
given, or if the option is nil, use the relative file-name.
2014-12-29 20:33:50 +01:00
cbc62b2a88 Remove site-related files
New script generates site automatically.
2013-10-10 02:46:38 +02:00
17f8fa22a3 Update docstrings to fix checkdoc warnings 2013-10-07 23:59:21 +02:00
dbe05bed93 Change name 2013-10-07 23:59:05 +02:00