unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23769: 25.0.95; Mode Line breakage in vc-git
@ 2016-06-14 11:16 Phillip Lord
  2016-06-14 16:29 ` Glenn Morris
  0 siblings, 1 reply; 37+ messages in thread
From: Phillip Lord @ 2016-06-14 11:16 UTC (permalink / raw)
  To: 23769


I am seeing a recurrent problem with vc, on Emacs-25. I am running emacs
via cask, which is running a test set.

The error looks like this:


  vc-call-backend(Git mode-line-string "/home/phillord/emacs/lentic/de
  vc-mode-line("/home/phillord/emacs/lentic/dev-resources/chunk-commen
  vc-refresh-state()
  run-hooks(find-file-hook)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer chunk-comment.clj> "~/emacs/lentic/dev
  find-file-noselect("/home/phillord/emacs/lentic/dev-resources/chunk-
  (setq this (find-file-noselect filename))
  (set-buffer (setq this (find-file-noselect filename)))
  (save-current-buffer (set-buffer (setq this (find-file-noselect file

Initially, I only saw it when using Emacs in my git commit-hook -- the
same "make" command in the shell caused no problems. However, it is
freely reproducible by launching with "GIT_DIR=.git make -k" which
suggests this is why it is failing during the git commit.

I've tried "instrumenting" (i.e. putting lots of logging) into vc.
The immediate cause of the error appears to be in vc-git--call when it
runs the git command "symbolic-ref".

vc-git--call: about to apply: (git nil (t nil) nil symbolic-ref (HEAD))
vc-git--call: return 128

If GIT_DIR is not set this has a zero return value.

I haven't worked out yet, how to find what the error is (128 is "any
other error").









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

end of thread, other threads:[~2016-06-21 23:06 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-14 11:16 bug#23769: 25.0.95; Mode Line breakage in vc-git Phillip Lord
2016-06-14 16:29 ` Glenn Morris
2016-06-14 17:03   ` Phillip Lord
2016-06-14 21:52     ` Dmitry Gutov
2016-06-14 22:21       ` Phillip Lord
2016-06-15 20:48       ` Phillip Lord
2016-06-15 21:02         ` Dmitry Gutov
2016-06-15 22:09           ` Phillip Lord
2016-06-15 22:27             ` Noam Postavsky
2016-06-15 23:20               ` Dmitry Gutov
2016-06-16  7:11                 ` Phillip Lord
2016-06-16  7:45               ` Phillip Lord
2016-06-15 23:25             ` Dmitry Gutov
2016-06-16  7:41               ` Phillip Lord
2016-06-16 11:25                 ` Dmitry Gutov
2016-06-16 16:06                   ` Dmitry Gutov
2016-06-16 16:54                     ` Noam Postavsky
2016-06-16 16:59                       ` Dmitry Gutov
2016-06-16 21:47                       ` Phillip Lord
2016-06-16 22:13                         ` Dmitry Gutov
2016-06-16 22:23                           ` Phillip Lord
2016-06-16 22:31                             ` Dmitry Gutov
2016-06-16 22:42                               ` Phillip Lord
2016-06-17  2:41                                 ` Dmitry Gutov
2016-06-17  3:37                                   ` Noam Postavsky
2016-06-17  6:54                                     ` Eli Zaretskii
2016-06-17 12:06                                       ` Dmitry Gutov
2016-06-17 13:21                                         ` Eli Zaretskii
2016-06-17 13:54                                           ` Dmitry Gutov
2016-06-17 15:09                                         ` Phillip Lord
2016-06-16 21:47                     ` Phillip Lord
2016-06-16 22:04                       ` Dmitry Gutov
2016-06-21 16:46                         ` Dmitry Gutov
2016-06-21 20:45                           ` Phillip Lord
2016-06-21 23:06                             ` Dmitry Gutov
2016-06-15 21:56         ` John Wiegley
2016-06-14 21:30   ` Phillip Lord

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).