all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#16897: 24.3.50; vc-print-root-log doesn't show the top commit if it's a merge commit
@ 2014-02-27 17:57 Dmitry Gutov
  2014-02-28 13:48 ` Stefan Monnier
  0 siblings, 1 reply; 10+ messages in thread
From: Dmitry Gutov @ 2014-02-27 17:57 UTC (permalink / raw)
  To: 16897

1. Open a Git repo.

2. Do a simple, non-fast-forward merge from some branch into the current
(but it has to succeed without conflicts).

3. Press `C-x v L`.

The top commit will be hidden, apparently because 'git log' is passed
the 'path' argument, namely the root directory of the repository, and so
it somehow ignores the commit that doesn't add anything to the histroy
beyond the contents of its parents.

Using Git 1.8.3.2.

If I replace `files' with 'nil' in `vc-git-print-log', the top commit is
displayed. Not sure how to handle this best. Perhaps just compare
`files' with (list default-directory)?

That's assuming at least some other backend needs a non-nil valus of
`files' to retrieve the root log.


In GNU Emacs 24.3.50.3 (x86_64-unknown-linux-gnu, GTK+ Version 3.8.6)
 of 2014-02-20 on axl
Repository revision: 116484 lekktu@gmail.com-20140219210406-y2s7lx244ojfl5on
Windowing system distributor `The X.Org Foundation', version 11.0.11405000
System Description:	Ubuntu 13.10





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-03-08  7:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-27 17:57 bug#16897: 24.3.50; vc-print-root-log doesn't show the top commit if it's a merge commit Dmitry Gutov
2014-02-28 13:48 ` Stefan Monnier
2014-02-28 14:23   ` Dmitry Gutov
2014-02-28 17:24     ` Stefan Monnier
2014-03-01  6:17       ` Dmitry Gutov
2014-03-01 17:13         ` Stefan Monnier
2014-03-02  2:44           ` Dmitry Gutov
2014-03-07 20:54             ` Stefan Monnier
2014-03-08  0:48               ` Dmitry Gutov
2014-03-08  7:02               ` Dmitry Gutov

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.