<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/lisp/vc/vc-git.el, branch pkg</title>
<subtitle>Emacs is the extensible, customizable, self-documenting real-time display editor. 
</subtitle>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/'/>
<entry>
<title>* lisp/vc/vc-git.el (vc-git-checkin): Add more checks for vc-git-patch-string</title>
<updated>2022-10-02T18:50:08+00:00</updated>
<author>
<name>Juri Linkov</name>
</author>
<published>2022-10-02T18:50:08+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=5e37b27ce9785b7b67506f44318fc56d3ce517e5'/>
<id>5e37b27ce9785b7b67506f44318fc56d3ce517e5</id>
<content type='text'>
Check that vc-git-patch-string contains the same changes that already exists
in the staged area when files were added/removed by vc commands (bug#52349).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Check that vc-git-patch-string contains the same changes that already exists
in the staged area when files were added/removed by vc commands (bug#52349).
</pre>
</div>
</content>
</entry>
<entry>
<title>In vc-git-log-incoming use the repository in the command "fetch" (bug#50340)</title>
<updated>2022-10-02T18:34:57+00:00</updated>
<author>
<name>Juri Linkov</name>
</author>
<published>2022-10-02T18:34:57+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=c37fda9e3117c8948ee691c79ccf747d45137d97'/>
<id>c37fda9e3117c8948ee691c79ccf747d45137d97</id>
<content type='text'>
* lisp/vc/vc-git.el (vc-git-log-incoming): Use repository part
from non-nil remote-location in the command "fetch".

* lisp/vc/vc.el (vc-log-incoming, vc-log-outgoing): Mention in
docstrings and prompts that REMOTE-LOCATION can be a remote branch name.

* doc/emacs/maintaining.texi (VC Change Log): For commands
vc-log-incoming and vc-log-outgoing, use the term "remote location"
instead of "repository".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/vc/vc-git.el (vc-git-log-incoming): Use repository part
from non-nil remote-location in the command "fetch".

* lisp/vc/vc.el (vc-log-incoming, vc-log-outgoing): Mention in
docstrings and prompts that REMOTE-LOCATION can be a remote branch name.

* doc/emacs/maintaining.texi (VC Change Log): For commands
vc-log-incoming and vc-log-outgoing, use the term "remote location"
instead of "repository".
</pre>
</div>
</content>
</entry>
<entry>
<title>Make "git pull" output slightly prettier</title>
<updated>2022-10-01T14:06:37+00:00</updated>
<author>
<name>Lars Ingebrigtsen</name>
</author>
<published>2022-10-01T14:06:27+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=e50a3b57921e8b690d3c3adb993e2441d5970116'/>
<id>e50a3b57921e8b690d3c3adb993e2441d5970116</id>
<content type='text'>
* lisp/vc/vc-git.el (vc-git--pushpull): Translate ^M in output
(bug#58199).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/vc/vc-git.el (vc-git--pushpull): Translate ^M in output
(bug#58199).
</pre>
</div>
</content>
</entry>
<entry>
<title>Tweak window handling in vc-pull-and-push</title>
<updated>2022-09-24T20:43:26+00:00</updated>
<author>
<name>Lars Ingebrigtsen</name>
</author>
<published>2022-09-24T20:43:26+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=d98ee767765032acc7f8f14c86dcbbfb67dbcaee'/>
<id>d98ee767765032acc7f8f14c86dcbbfb67dbcaee</id>
<content type='text'>
* lisp/vc/vc-dispatcher.el (vc--inhibit-async-window): Rename
variable.
(vc-do-async-command): Allow inhibiting all window changes.

* lisp/vc/vc-git.el (vc-git-pull-and-push): Don't pop up the
window asynchronously on the "pull" because that gets in the way
of doing other things.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/vc/vc-dispatcher.el (vc--inhibit-async-window): Rename
variable.
(vc-do-async-command): Allow inhibiting all window changes.

* lisp/vc/vc-git.el (vc-git-pull-and-push): Don't pop up the
window asynchronously on the "pull" because that gets in the way
of doing other things.
</pre>
</div>
</content>
</entry>
<entry>
<title>; Drop two obsolete defvars</title>
<updated>2022-09-24T19:06:47+00:00</updated>
<author>
<name>Sean Whitton</name>
</author>
<published>2022-09-24T19:06:47+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=be9e51f61f6c6de17967c139c95d71472bc30137'/>
<id>be9e51f61f6c6de17967c139c95d71472bc30137</id>
<content type='text'>
* lisp/vc/vc-git.el (vc-want-edit-command-p)
* lisp/vc/vc.el (vc-want-edit-command-p): Drop obsolete defvar.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/vc/vc-git.el (vc-want-edit-command-p)
* lisp/vc/vc.el (vc-want-edit-command-p): Drop obsolete defvar.
</pre>
</div>
</content>
</entry>
<entry>
<title>Generalize &amp; simplify implementation of user edits to VC commands</title>
<updated>2022-09-24T18:00:07+00:00</updated>
<author>
<name>Sean Whitton</name>
</author>
<published>2022-09-24T17:39:52+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=9a5176aec018d6cb6c32614b3b1c8b0dd6d9b71a'/>
<id>9a5176aec018d6cb6c32614b3b1c8b0dd6d9b71a</id>
<content type='text'>
* lisp/vc/vc-dispatcher.el (vc-pre-command-functions)
(vc-want-edit-command-p): Delete.
(vc-filter-command-function): New variable.
(vc-user-edit-command): Factor out of vc-do-command.
(vc-do-command, vc-do-async-command)
* lisp/vc/vc-git.el (vc-git--pushpull)
* lisp/vc/vc.el (vc-print-branch-log): Use vc-filter-command-function
in place of vc-pre-command-functions and vc-want-edit-command-p.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/vc/vc-dispatcher.el (vc-pre-command-functions)
(vc-want-edit-command-p): Delete.
(vc-filter-command-function): New variable.
(vc-user-edit-command): Factor out of vc-do-command.
(vc-do-command, vc-do-async-command)
* lisp/vc/vc-git.el (vc-git--pushpull)
* lisp/vc/vc.el (vc-print-branch-log): Use vc-filter-command-function
in place of vc-pre-command-functions and vc-want-edit-command-p.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a new command vc-pull-and-push</title>
<updated>2022-09-24T13:19:03+00:00</updated>
<author>
<name>Lars Ingebrigtsen</name>
</author>
<published>2022-09-24T13:17:23+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=8dacd8cd914fdbe0f6f17ca57915611d48e9124d'/>
<id>8dacd8cd914fdbe0f6f17ca57915611d48e9124d</id>
<content type='text'>
* lisp/vc/vc-svn.el (vc-exec-after):
* lisp/vc/vc-hg.el (vc-exec-after):
* lisp/vc/vc-git.el (vc-exec-after):
* lisp/vc/vc-cvs.el (vc-exec-after):
* lisp/vc/vc-bzr.el (vc-exec-after):
* lisp/org/org-macro.el (vc-exec-after):
* lisp/obsolete/vc-mtn.el (vc-exec-after):
* lisp/obsolete/vc-arch.el (vc-exec-after): Update declaration.
* lisp/vc/vc-dispatcher.el (vc--process-sentinel): Allow running
code only on success.
(vc-exec-after): Ditto.
(vc--inhibit-change-window-start): New variable.
(vc-do-async-command): Use it to allow chaining commands without
moving window point.  Return the process instead of the buffer,
since the process may have exited already, and then we can't get
at the process.

* lisp/vc/vc-git.el (vc-git--pushpull): Return the process object.
(vc-git-pull-and-push): New function.

* lisp/vc/vc.el (vc-pull-and-push): New command (bug#51964).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/vc/vc-svn.el (vc-exec-after):
* lisp/vc/vc-hg.el (vc-exec-after):
* lisp/vc/vc-git.el (vc-exec-after):
* lisp/vc/vc-cvs.el (vc-exec-after):
* lisp/vc/vc-bzr.el (vc-exec-after):
* lisp/org/org-macro.el (vc-exec-after):
* lisp/obsolete/vc-mtn.el (vc-exec-after):
* lisp/obsolete/vc-arch.el (vc-exec-after): Update declaration.
* lisp/vc/vc-dispatcher.el (vc--process-sentinel): Allow running
code only on success.
(vc-exec-after): Ditto.
(vc--inhibit-change-window-start): New variable.
(vc-do-async-command): Use it to allow chaining commands without
moving window point.  Return the process instead of the buffer,
since the process may have exited already, and then we can't get
at the process.

* lisp/vc/vc-git.el (vc-git--pushpull): Return the process object.
(vc-git-pull-and-push): New function.

* lisp/vc/vc.el (vc-pull-and-push): New command (bug#51964).
</pre>
</div>
</content>
</entry>
<entry>
<title>vc-git--pushpull: Restore handling of vc-git-program</title>
<updated>2022-09-23T21:55:02+00:00</updated>
<author>
<name>Sean Whitton</name>
</author>
<published>2022-09-23T17:43:31+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=77fb8a16120a03227a8851ef23bb0293f6a11d2d'/>
<id>77fb8a16120a03227a8851ef23bb0293f6a11d2d</id>
<content type='text'>
* lisp/vc/vc-git.el (vc-git--pushpull): Restore handling of
vc-git-program before recent change: respect a buffer-local value of
vc-git-program, and don't ignore user edits to the git program name
when PROMPT.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/vc/vc-git.el (vc-git--pushpull): Restore handling of
vc-git-program before recent change: respect a buffer-local value of
vc-git-program, and don't ignore user edits to the git program name
when PROMPT.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for user edits to VC command arguments</title>
<updated>2022-09-21T19:31:05+00:00</updated>
<author>
<name>Sean Whitton</name>
</author>
<published>2022-09-18T21:47:23+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=101f3cf5b9b5600147d4406c3be8daf174e1a543'/>
<id>101f3cf5b9b5600147d4406c3be8daf174e1a543</id>
<content type='text'>
* lisp/vc/vc-dispatcher.el (vc-pre-command-functions): New hook.
(vc-want-edit-command-p): New variable.
(vc-do-command): If vc-want-edit-command-p is non-nil, prompt the user
to edit the VC command &amp; arguments before execution.  Run the new hook.
(vc-do-async-command): Use the new hook to insert into BUFFER the
command that's next to be run.
* lisp/vc/vc-git.el (vc-git--pushpull): Drop prompting code.  Bind
vc-want-edit-command-p so that vc-do-command handles the prompting.
Use the new hook to update compile-command with the edited command.
* lisp/vc/vc.el (vc-print-branch-log): A non-nil prefix argument now
means vc-want-edit-command-p is bound to a non-nil value (bug#57807).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/vc/vc-dispatcher.el (vc-pre-command-functions): New hook.
(vc-want-edit-command-p): New variable.
(vc-do-command): If vc-want-edit-command-p is non-nil, prompt the user
to edit the VC command &amp; arguments before execution.  Run the new hook.
(vc-do-async-command): Use the new hook to insert into BUFFER the
command that's next to be run.
* lisp/vc/vc-git.el (vc-git--pushpull): Drop prompting code.  Bind
vc-want-edit-command-p so that vc-do-command handles the prompting.
Use the new hook to update compile-command with the edited command.
* lisp/vc/vc.el (vc-print-branch-log): A non-nil prefix argument now
means vc-want-edit-command-p is bound to a non-nil value (bug#57807).
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't use autoloaded functions for safe-local-variable</title>
<updated>2022-09-16T10:36:15+00:00</updated>
<author>
<name>Lars Ingebrigtsen</name>
</author>
<published>2022-09-16T10:36:15+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=7be7ad279e96f90cc70e384a350331de8e1607df'/>
<id>7be7ad279e96f90cc70e384a350331de8e1607df</id>
<content type='text'>
* doc/lispref/symbols.texi (Standard Properties): Clarify how
safe-local-variable should look.

* lisp/emacs-lisp/checkdoc.el (checkdoc-ispell-lisp-words)
(checkdoc-symbol-words): Use list-of-strings-p.
(checkdoc-list-of-strings-p): Obsolete.

* lisp/vc/vc-git.el (vc-git-annotate-switches): Remove.
(vc-git-annotate-switches): Open-code the check.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* doc/lispref/symbols.texi (Standard Properties): Clarify how
safe-local-variable should look.

* lisp/emacs-lisp/checkdoc.el (checkdoc-ispell-lisp-words)
(checkdoc-symbol-words): Use list-of-strings-p.
(checkdoc-list-of-strings-p): Obsolete.

* lisp/vc/vc-git.el (vc-git-annotate-switches): Remove.
(vc-git-annotate-switches): Open-code the check.
</pre>
</div>
</content>
</entry>
</feed>
