Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5378843c
Commit
5378843c
authored
Jan 04, 2008
by
Dan Nicolaescu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* vc-git.el (vc-git-dir-state):
* vc-hg.el (vc-hg-dir-state): Set the vc-backend property.
parent
78379264
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/vc-git.el
lisp/vc-git.el
+3
-0
lisp/vc-hg.el
lisp/vc-hg.el
+2
-0
No files found.
lisp/ChangeLog
View file @
5378843c
2008-01-04 Dan Nicolaescu <dann@ics.uci.edu>
* vc-git.el (vc-git-dir-state):
* vc-hg.el (vc-hg-dir-state): Set the vc-backend property.
2008-01-04 Richard Stallman <rms@gnu.org>
* delsel.el (delete-selection-mode): Doc fix.
lisp/vc-git.el
View file @
5378843c
...
...
@@ -167,10 +167,13 @@
;; should not show up in vc-dired, so don't deal with them
;; here.
((
eq
status-char
?H
)
(
vc-file-setprop
file
'vc-backend
'Git
)
(
vc-file-setprop
file
'vc-state
'up-to-date
))
((
eq
status-char
?M
)
(
vc-file-setprop
file
'vc-backend
'Git
)
(
vc-file-setprop
file
'vc-state
'edited
))
((
eq
status-char
?C
)
(
vc-file-setprop
file
'vc-backend
'Git
)
(
vc-file-setprop
file
'vc-state
'edited
))
((
eq
status-char
??
)
(
vc-file-setprop
file
'vc-backend
'none
)
...
...
lisp/vc-hg.el
View file @
5378843c
...
...
@@ -188,9 +188,11 @@
;; should not show up in vc-dired, so don't deal with them
;; here.
((
eq
status-char
?A
)
(
vc-file-setprop
file
'vc-backend
'Hg
)
(
vc-file-setprop
file
'vc-workfile-version
"0"
)
(
vc-file-setprop
file
'vc-state
'edited
))
((
eq
status-char
?M
)
(
vc-file-setprop
file
'vc-backend
'Hg
)
(
vc-file-setprop
file
'vc-state
'edited
))
((
eq
status-char
??
)
(
vc-file-setprop
file
'vc-backend
'none
)
...
...
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