Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e98a0cab
Commit
e98a0cab
authored
Dec 03, 2008
by
Glenn Morris
Browse files
(vc-arch-diff-switches): New option, for consistency with other backends.
(vc-arch-diff): Apply switches.
parent
905ca9d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
3 deletions
+16
-3
lisp/vc-arch.el
lisp/vc-arch.el
+16
-3
No files found.
lisp/vc-arch.el
View file @
e98a0cab
;;; vc-arch.el --- VC backend for the Arch version-control system
;; Copyright (C) 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
;; Copyright (C) 2004, 2005, 2006, 2007, 2008
;; Free Software Foundation, Inc.
;; Author: FSF (see vc.el for full credits)
;; Maintainer: Stefan Monnier <monnier@gnu.org>
...
...
@@ -64,6 +65,19 @@
;;; Customization options
;;;
;; It seems Arch diff does not accept many options, so this is not
;; very useful. It exists mainly so that the VC backends are all
;; consistent with regards to their treatment of diff switches.
(
defcustom
vc-arch-diff-switches
t
"String or list of strings specifying switches for Arch diff under VC.
If nil, use the value of `vc-diff-switches'. If t, use no switches."
:type
'
(
choice
(
const
:tag
"Unspecified"
nil
)
(
const
:tag
"None"
t
)
(
string
:tag
"Argument String"
)
(
repeat
:tag
"Argument List"
:value
(
""
)
string
))
:version
"23.1"
:group
'vc
)
(
define-obsolete-variable-alias
'vc-arch-command
'vc-arch-program
"23.1"
)
(
defcustom
vc-arch-program
...
...
@@ -450,8 +464,7 @@ CALLBACK expects (ENTRIES &optional MORE-TO-COME); see
(
or
buffer
"*vc-diff*"
)
(
if
async
'async
1
)
nil
"file-diffs"
;; Arch does not support the typical flags.
;; (vc-switches 'Arch 'diff)
(
vc-switches
'Arch
'diff
)
(
file-relative-name
file
)
(
if
(
equal
oldvers
(
vc-working-revision
file
))
nil
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment