aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2012-01-10 21:44:05 +0100
committerGravatar Tom Willemsen2012-01-10 21:44:05 +0100
commit04180df89a688c1a5a56ccb0b2a26087e323a8d8 (patch)
treeeabde608841dc421eceeb1ec65e877240a8eea59
parentd3ddb34bdc2eb5529d98d4b9f9413a04494b2415 (diff)
downloadgit-auto-commit-mode-04180df89a688c1a5a56ccb0b2a26087e323a8d8.tar.gz
git-auto-commit-mode-04180df89a688c1a5a56ccb0b2a26087e323a8d8.zip
Add some license info and so on
-rw-r--r--git-auto-commit-mode.el26
1 files changed, 26 insertions, 0 deletions
diff --git a/git-auto-commit-mode.el b/git-auto-commit-mode.el
index d3bb5e7..b840f7e 100644
--- a/git-auto-commit-mode.el
+++ b/git-auto-commit-mode.el
@@ -1,3 +1,29 @@
+;;; git-auto-commit-mode.el --- Emacs Minor mode to automatically commit
+
+;; Copyright (C) 2012 Tom Willemsen <tom@ryuslash.org>
+
+;; Created: Jan 9, 2012
+;; Version: 1
+
+;; This file is not part of GNU Emacs.
+
+;; This file is free software; you can redistribute it and/or
+;; modify it under the terms of the GNU General Public License
+;; as published by the Free Software Foundation; either version 3
+;; of the License, or (at your option) any later version.
+
+;; This file is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this file; if not, write to the Free Software
+;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+;; 02110-1301, USA.
+
+;;; Code:
+
(defun git-auto-commit-relative-file-name (filename)
"Find the path to the filename relative to the git directory"
(let* ((git-dir