Commit graph

62 commits

Author SHA1 Message Date
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
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
6d8c914b24 Bump version 2013-10-07 23:23:13 +02:00
995293de8f Merge branch 'geerds/provide-feature' 2013-10-07 23:19:24 +02:00
Jascha Geerds
8401b45a4f Provide "git-auto-commit-mode" feature 2013-10-07 21:03:19 +02:00
3ccf3fb624 Update version info
Should have been done before the last tag.
2013-04-10 01:57:21 +02:00
684010b71f Add other complementary files 2013-04-10 01:51:30 +02:00
3b04c88eb6 Use defcustom for gac-automatically-push-p 2013-04-09 02:29:00 +02:00
82e65c6d50 Add NEWS 2013-04-09 02:16:38 +02:00
060aba187d Add README 2013-04-09 01:59:51 +02:00
8eb92a7870 Update copyright years 2013-04-09 01:29:53 +02:00
7f999c824c Bump version to .1 2012-06-23 19:34:16 +02:00
45983d24aa Fix URL value 2012-06-23 19:29:36 +02:00
2721bcb968 Fix documentation about gac-automatically-push 2012-06-23 11:45:24 +02:00
440a19d806 Rename gac-automatically-push
It is normal for boolean values, or predicates, to end with `-p' in
emacs-lisp, so `gac-automatically-push' should really be named
`gac-automatically-push-p'.
2012-06-23 11:41:27 +02:00
360d129a0c Always make gac-automatically-push buffer local. 2012-06-23 11:38:11 +02:00
791c8e0b7e Add autoload cookie for packaging 2012-05-27 11:51:11 +02:00