# [PATCH 0/2] Two minor fixes for vc-git

3 messages from 2006-10-22 to 2006-10-22. Participants: Karl Hasselström.
Thread: https://gitlist.dev/t/6002

## Karl Hasselström, 2006-10-22 18:41

Subject: [PATCH 0/2] Two minor fixes for vc-git
Message-ID: <20061022184108.4093.65651.stgit@localhost>
URL: https://gitlist.dev/e/20061022184108.4093.65651.stgit%40localhost

```
I'm a total newbie when it comes to elisp, so you may want to take
these with a pinch of salt. But vc-git was quite broken for me without
this fix, so I guess _something_ has to be done about it ...

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle

```

## Karl Hasselström, 2006-10-22 18:46

Subject: [PATCH 1/2] ignore-errors requires cl
Message-ID: <20061022184631.4093.50273.stgit@localhost>
URL: https://gitlist.dev/e/20061022184631.4093.50273.stgit%40localhost
In-Reply-To: <20061022184108.4093.65651.stgit@localhost>

```
From: Karl Hasselström <kha@yoghurt.hemma.treskal.com>

vc-git complains that it can't find the definition of ignore-errors
unless I (require 'cl). So I guess the correct place to do that is in
the file itself.

Signed-off-by: Karl Hasselström <kha@treskal.com>
---

 contrib/emacs/vc-git.el |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/contrib/emacs/vc-git.el b/contrib/emacs/vc-git.el
index 4189c4c..1ec228f 100644
--- a/contrib/emacs/vc-git.el
+++ b/contrib/emacs/vc-git.el
@@ -30,6 +30,8 @@
 ;;  - working with revisions other than HEAD
 ;;
 
+(require 'cl)
+
 (defvar git-commits-coding-system 'utf-8
   "Default coding system for git commits.")
 

```

## Karl Hasselström, 2006-10-22 18:46

Subject: [PATCH 2/2] Better installation instructions
Message-ID: <20061022184636.4093.12373.stgit@localhost>
URL: https://gitlist.dev/e/20061022184636.4093.12373.stgit%40localhost
In-Reply-To: <20061022184108.4093.65651.stgit@localhost>

```
From: Karl Hasselström <kha@yoghurt.hemma.treskal.com>

Provide some more detailed installation instructions, for the
elisp-challenged among us.

Signed-off-by: Karl Hasselström <kha@treskal.com>
---

 contrib/emacs/vc-git.el |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/contrib/emacs/vc-git.el b/contrib/emacs/vc-git.el
index 1ec228f..535ce97 100644
--- a/contrib/emacs/vc-git.el
+++ b/contrib/emacs/vc-git.el
@@ -23,7 +23,10 @@
 ;; system.
 ;;
 ;; To install: put this file on the load-path and add GIT to the list
-;; of supported backends in `vc-handled-backends'.
+;; of supported backends in `vc-handled-backends'; the following line,
+;; placed in your ~/.emacs, will accomplish this:
+;;
+;;     (add-to-list 'vc-handled-backends 'GIT)
 ;;
 ;; TODO
 ;;  - changelog generation

```
