aboutsummaryrefslogtreecommitdiff
path: root/lisp/git-commit.el
AgeCommit message (Collapse)Author
2016-05-19release version 2.7.02.7.0Jonas Bernoulli
2016-04-25reset Package-Requires for MelpaJonas Bernoulli
2016-04-25release version 2.6.22.6.2Jonas Bernoulli
2016-04-14reset Package-Requires for MelpaJonas Bernoulli
2016-04-14release version 2.6.12.6.1Jonas Bernoulli
2016-04-12git-commit-propertize-diff: use font-lock-ensureKyle Meyer
36be43d (use font-lock-flush instead of font-lock-ensure, 2015-08-15) changed this to use font-lock-flush. However, based on tests with a somewhat recent build of the emacs-25 branch (cf79616) and on this discussion [1], I don't think font-lock-flush will reliably highlight the diff. Also, the initial issue that 36be43d was addressing is, I think, due to a bug in Emacs's font-lock-ensure (bug#22399) that has now been fixed (21beb19, 2016-01-25). [1]: https://lists.gnu.org/archive/html/emacs-devel/2016-02/msg01481.html
2016-04-12git-commit-propertize-diff: highlight full diffKyle Meyer
* Start diff highlighting at beginning of diff line rather than after "diff --git". * Highlight last change. Fixes #2616.
2016-04-10git-commit-buffer-message: strip --verbose diffsKyle Meyer
Fixes #2612.
2016-04-06git-commit-summary-regexp: don't match empty 2nd lineNoam Postavsky
2016-03-29reset Package-Requires for MelpaJonas Bernoulli
2016-03-29release version 2.6.02.6.0Jonas Bernoulli
2016-01-30reset Package-Requires for MelpaJonas Bernoulli
2016-01-30release version 2.5.02.5.0Jonas Bernoulli
2016-01-30bump dependenciesJonas Bernoulli
2016-01-19reset Package-Requires for MelpaJonas Bernoulli
2016-01-19release version 2.4.12.4.1Jonas Bernoulli
2016-01-18fix yet another MELPA versionKyle Meyer
2016-01-18reset Package-Requires for MelpaJonas Bernoulli
2016-01-18release version 2.4.02.4.0Jonas Bernoulli
2016-01-12revert buffers using a globalized variant of auto-revert-modeJonas Bernoulli
Replace the old magit-specific auto-revert implementation with the mode `magit-auto-revert-mode', a globalized variant of the built-in `auto-revert-mode'. By default Magit still explicitly triggers the reverts after running git for side-effects. Automatic reverts are still enabled by default, and Magit is less verbose about it. The behavior can be tuned using `magit-auto-revert-' and `auto-revert-' options. The main benefit of this change is that this implementation caches whether a file is tracked or not. The old implementation determined this on every revert cycle, which did not perform well when there were many open buffers and/or many tracked files.
2016-01-01bump copyright yearsJonas Bernoulli
2015-11-11reset Package-Requires for MelpaJonas Bernoulli
2015-11-11release version 2.3.12.3.1Jonas Bernoulli
2015-10-28reset Package-Requires for MelpaJonas Bernoulli
2015-10-28release version 2.3.02.3.0Jonas Bernoulli
2015-10-22bump dependenciesJonas Bernoulli
Most importantly depend on a snapshot of `dash', because *any* snapshot is larger than 2.MM.S but we really do need v2.8 at the very least (for `-let'). Actually depend on a snapshot corresponding to v2.12.1 because that fixes magnars/dash.el#130.
2015-10-20silence byte-compilerJonas Bernoulli
2015-10-18handle custom cygwin mountsNoam Postavsky
Rely on the output from mount to tell us how to map cygwin paths into native Windows paths. This is also needed in git-commit; avoid a hard dependency on magit by only loading magit-git in the case where we receive a bad path to foo_EDITMSG (and falling back to the standard "/cygdrive" prefix if we fail to load).
2015-10-02git-commit-setup: handle cygwin pathsNoam Postavsky
Cygwin git passes paths like /cygdrive/c/foo/.git/COMMIT_EDITMSG which causes windows-nt Emacs to look for the non-existent c:/cygdrive/c/foo/.git/COMMIT_EDITMSG. We now attempt to switch to c:/foo/.git/COMMIT_EDITMSG in thise case. Re https://github.com/magit/magit/issues/2284#issuecomment-143927798
2015-09-03reset Package-Requires for MelpaJonas Bernoulli
2015-09-03release version 2.2.22.2.2Jonas Bernoulli
2015-08-24melpa release dance, part 2Jonas Bernoulli
2015-08-24melpa release dance, part 1Jonas Bernoulli
2015-08-18git-commit.el: fix commentary typoKyle Meyer
2015-08-16make Melpa snapshots depend on other snapshotsJonas Bernoulli
2015-08-16release version 2.2.02.2.0Jonas Bernoulli
2015-08-15make git-commit-flyspell-verify more robustJonas Bernoulli
The previous implementation sometimes did not succeed in keeping flyspell from checking certain parts of the instructions comment.
2015-08-15use font-lock-flush instead of font-lock-ensureJonas Bernoulli
The latter does not actually refresh the buffer.
2015-08-08use async-bytecomp to guarantee untainted buildsJonas Bernoulli
When `package.el' is used to update a package whose libraries have already been loaded in the current session, then parts of the loaded version can leak into the new version during byte-compilation. This can be avoided by compiling the libraries in a separate Emacs instance. The library `async-bytecomp', which is part of the package `async', does just that by advising the function `package--compile'. So add `async' as an Elpa dependency, soft-require `async-bytecomp', and if that succeeds, then turn on `async-bytecomp-package-mode' to activate the advice. Because it is undefined which package is updated first, and which library is loaded first, we have to this in both possible candidates `with-editor' and `magit-popup'. Users may update `magit' without updating the dependencies, so we have to further force the updates of all the Elpa packages that are build from the Melpa repository. To do so we depend on "20150808" snapshot versions instead of "2.2.0". When installing Magit manually, then `async-bytecomp' is not required, because Magit is then compiled using the Makefile which already uses a separate, untainted Emacs instance.
2015-08-05fix docstring typoKyle Meyer
2015-07-27define hooks like we are supposed tooJonas Bernoulli
Users are allowed to use `add-hook' et al. to add hook functions to hook variables which have not yet been declared. That means that the default value of hook variables should not be set inside `defvar' and defcustom' forms, because those definitions are only evaluated if the variable has no value yet (in case of `defcustom' it would be used to get the default value though). When the user used `add-hook' earlier, then it obviously has a value. So we are supposed to set the default value outside of the declaration form, using `add-hook'. But that has a few downsides too. If we set the default value outside of `defcustom', then Custom would think that the default value is `nil' (and would be right about that) and tell the user about it, which could confuse her a lot. So we set the default value inside `defcustom' *and* outside using `add-hook'. Sight. That's still not good enough though. Re-evaluating the file or buffer containing these `add-hook' forms would override all user customization. So we place the calls to `add-hook' before that to `defcustom' and additionally wrap the calls to `add-hook' to make sure they are only ever run once. Sight. (unless (find-lisp-object-file-name 'HOOK-VARIABLE 'defvar) ...) (add-hook 'HOOK-VARIABLE ...) ...) (defcustom HOOK-VARIABLE '(...) :options '(...) ...) Double sight. We *don't* do the above for section hooks, which users are supposed to modify using `magit-add-section-hook'. Instead we teach that function to raise an error when the user attempts to add a hook function to a hook variable which has not been defined yet. Re #2004.
2015-07-06use font-lock-ensure if availableJonas Bernoulli
It's available starting with Emacs v25.1.
2015-07-06call looking-back with two argumentsJonas Bernoulli
Starting with Emacs v25.1 `looking-back' requires two arguments. But the second argument LIMIT may still be nil.
2015-07-01add release notes, bump version2.1.0Jonas Bernoulli
2015-06-29remove obsolete face definitionsJonas Bernoulli
To many faces were renamed for these few backward-compatibility definitions to make much of difference. Rip off the bandage.
2015-06-29Add autoload cookie for lazy loadingSyohei YOSHIDA
2015-06-28fix and extend package metadataJonas Bernoulli
2015-06-23improve package summaries and commentaryJonas Bernoulli
Improve the library summaries of the libraries that are distributed as separate packages, as well as the summary and commentary of `magit.el'.
2015-06-23update elpa package dependenciesJonas Bernoulli
Note that emacs-24.4 implies cl-lib.
2015-06-23clarify copyright lines in library headersJonas Bernoulli
At the beginning of library headers use ;; Copyright (C) YEARS The Magit Project Contributors instead of ;; Copyright (C) YEARS The Magit Project Developers "Developers" might be read as to imply that only the core team hold the copyright. But that is not the case, since nobody assigned their rights to us. Everyone who ever contributed holds the copyright for their contribution(s).