profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/tarsius/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

emacscollective/no-littering 316

Help keeping ~/.emacs.d clean

emacscollective/auto-compile 122

Automatically compile Emacs Lisp libraries

emacscollective/elx 21

Extract information from Emacs Lisp libraries

emacscollective/packed 15

Emacs package utilities

emacsattic/company-racer 6

Company integration for racer

emacsmirror/bang 6

A sam-like shell-command

emacsattic/magit-rockstar 2

[OBSOLETE] Commit like a rockstar

issue commentmagit/magit

New changes breaks "ask for confirmation before push" tip from wiki

The current wiki doesn't had the updated solution from npostavs. Should we update the wiki?

akash-akya

comment created time in an hour

issue commentmagit/magit

Protection against an unintentional push to upstream origin/master

I tried using several keyword search in github, doesn't help. But google search leads me to https://github.com/magit/magit/issues/3875.

Now, this works for me. I changed a bit, to only care for "master" branch. and for both origin and upstream.


;; Protect against accident pushes to upstream
  (defun query-magit-push-upstream (args)
    (when-let ((branch (magit-get-current-branch)))
      (when (string-equal branch "master")
        (unless (yes-or-no-p (format "Push \"%s\" branch to \"%s\"? "
                                     branch
                                     (magit-get "branch" branch "remote")))
          (user-error "Pushed aborted")))))

  (advice-add 'magit-push-current-to-upstream :before #'query-magit-push-upstream)
  (advice-add 'magit-push-current-to-pushremote :before #'query-magit-push-upstream)
  
phil-s

comment created time in an hour

issue commentmagit/magit

Protection against an unintentional push to upstream origin/master

@phil-s is the snippets still works in your end? I find it removed in the wiki, but managed to get it using wiki-history. I tried, but doesn't work in my end. I doesn't prompt anything.

(use-package magit
  :bind (("C-x g" . magit-status)
         ("C-x M-g" . magit-dispatch))
  :config
  (setq magit-diff-refine-hunk '(all))
  (setq magit-log-margin '(t "%Y-%m-%d %H:%M " magit-log-margin-width t 18))

    ;; Protect against accident pushes to upstream
  (defadvice magit-push-current-to-upstream
      (around my-protect-accidental-magit-push-current-to-upstream)
    "Protect against accidental push to upstream.

Causes `magit-git-push' to ask the user for confirmation first."
    (let ((my-magit-ask-before-push t))
      ad-do-it))

  (defadvice magit-git-push (around my-protect-accidental-magit-git-push)
    "Maybe ask the user for confirmation before pushing.

Advice to `magit-push-current-to-upstream' triggers this query."
    (if (bound-and-true-p my-magit-ask-before-push)
        ;; Arglist is (BRANCH TARGET ARGS)
        (if (yes-or-no-p (format "Push %s branch upstream to %s? "
                                 (ad-get-arg 0) (ad-get-arg 1)))
            ad-do-it
          (error "Push to upstream aborted by user"))
      ad-do-it))

  (ad-activate 'magit-push-current-to-upstream)
  (ad-activate 'magit-git-push)

  )

my magit version:

0edb4e15 * master origin/master test: magit-with-test-directory: expand symlinks
phil-s

comment created time in 2 hours

startedtarsius/git-elisp-overview

started time in 2 hours

issue commentmagit/magit

after renaming a git remote from origin to upstream, magit-status gives `Debugger entered--Lisp error: (void-variable upstream)` in all repos

Removing files *.elcin my ~/.emacs.d/elpa/fixed the problem!

Glad to hear it.

Does that mean I should report a bug against emacs itself for byte compiling?

Sorry, I don't know. I suspect there's nothing concrete enough to report about this specific case. A good number of impossible/unreachable bugs show up here, and I think it'd be wonderful if upstream changes avoided those [1], but I don't have a good understanding of the situation.

[1] also see https://github.com/jwiegley/emacs-async/issues/139

shapr

comment created time in 2 hours

issue commentmagit/forge

Forge with incorrect user/project name capitalization

My apologies, I forgot one step I had done, between 5, and 6; updated above. Since my fork's capitalization is correct, it's possible to work on topics from it; but as you noted, that is not where the topics reside.

The typical GitHub convention is to call the parent repository from which you forked the upstream, and your own fork's repository origin. But again, I don't think the naming convention is really the issue, since I in fact had specifically selected the remote from which I wanted forge to pull issues. And after I kill the mis-capitalized remote and re-add it correctly, steps 4–8 work fine.

jdtsmith

comment created time in 8 hours

startedtarsius/keycast

started time in 12 hours

issue closedmagit/magit

after renaming a git remote from origin to upstream, magit-status gives `Debugger entered--Lisp error: (void-variable upstream)` in all repos

When I run magit-status I get an error (void-variable upstream) on every git repository I open, newly cloned or old.

My version of magit is 20210414.1306 and my version of emacs is 27.1 and I'm running on NixOS 20.09 (kernel and other details available if helpful).

The entire command line for emacs is emacs -Q --debug-init --eval '(setq debug-on-error t)' -L ../dash-20210330.1544 -L ../git-commit-20210328.1730 -L ../transient-20210315.1902 -L ../with-editor-20210319.1930 -L . -l magit and I'm running in the directory magit-20210414.1306

The debugger trace is

Debugger entered--Lisp error: (void-variable upstream)
  magit-get-upstream-branch("develop")
  magit-insert-upstream-branch-header()
  apply(magit-insert-upstream-branch-header nil)
  magit-run-section-hook(magit-status-headers-hook)
  magit-insert-headers(magit-status-headers-hook)
  magit-insert-status-headers()
  apply(magit-insert-status-headers nil)
  magit-run-section-hook(magit-status-sections-hook)
  magit-status-refresh-buffer()
  apply(magit-status-refresh-buffer nil)
  (save-excursion (apply refresh (with-no-warnings magit-refresh-args)))
  (let ((inhibit-read-only t)) (erase-buffer) (save-excursion (apply refresh (with-no-warnings magit-refresh-args))))
  (let* ((buffer (current-buffer)) (windows (apply 'append (mapcar #'(lambda (it) (ignore it) (let ... ...)) (or (get-buffer-window-list buffer nil t) (list (selected-window))))))) (deactivate-mark) (setq magit-section-highlight-overlays nil) (setq magit-section-highlighted-section nil) (setq magit-section-highlighted-sections nil) (setq magit-section-unhighlight-sections nil) (magit-process-unset-mode-line-error-status) (let ((inhibit-read-only t)) (erase-buffer) (save-excursion (apply refresh (with-no-warnings magit-refresh-args)))) (let ((--dolist-tail-- windows)) (while --dolist-tail-- (let ((x81 (car --dolist-tail--))) (let* ((x82 (car x81)) (x83 (cdr x81))) (let ((args x83) (window x82)) (let (...) (save-current-buffer ...)))) (setq --dolist-tail-- (cdr --dolist-tail--))))) (run-hooks 'magit-refresh-buffer-hook) (magit-section-update-highlight) (set-buffer-modified-p nil))
  (progn (if magit-refresh-verbose (progn (message "Refreshing buffer `%s'..." (buffer-name)))) (let* ((buffer (current-buffer)) (windows (apply 'append (mapcar #'(lambda ... ... ...) (or (get-buffer-window-list buffer nil t) (list ...)))))) (deactivate-mark) (setq magit-section-highlight-overlays nil) (setq magit-section-highlighted-section nil) (setq magit-section-highlighted-sections nil) (setq magit-section-unhighlight-sections nil) (magit-process-unset-mode-line-error-status) (let ((inhibit-read-only t)) (erase-buffer) (save-excursion (apply refresh (with-no-warnings magit-refresh-args)))) (let ((--dolist-tail-- windows)) (while --dolist-tail-- (let ((x81 (car --dolist-tail--))) (let* ((x82 ...) (x83 ...)) (let (... ...) (let ... ...))) (setq --dolist-tail-- (cdr --dolist-tail--))))) (run-hooks 'magit-refresh-buffer-hook) (magit-section-update-highlight) (set-buffer-modified-p nil)) (if magit-refresh-verbose (progn (message "Refreshing buffer `%s'...done (%.3fs)" (buffer-name) (float-time (time-subtract (current-time) magit-refresh-start-time))))))
  (if (functionp refresh) (progn (if magit-refresh-verbose (progn (message "Refreshing buffer `%s'..." (buffer-name)))) (let* ((buffer (current-buffer)) (windows (apply 'append (mapcar #'... (or ... ...))))) (deactivate-mark) (setq magit-section-highlight-overlays nil) (setq magit-section-highlighted-section nil) (setq magit-section-highlighted-sections nil) (setq magit-section-unhighlight-sections nil) (magit-process-unset-mode-line-error-status) (let ((inhibit-read-only t)) (erase-buffer) (save-excursion (apply refresh (with-no-warnings magit-refresh-args)))) (let ((--dolist-tail-- windows)) (while --dolist-tail-- (let ((x81 ...)) (let* (... ...) (let ... ...)) (setq --dolist-tail-- (cdr --dolist-tail--))))) (run-hooks 'magit-refresh-buffer-hook) (magit-section-update-highlight) (set-buffer-modified-p nil)) (if magit-refresh-verbose (progn (message "Refreshing buffer `%s'...done (%.3fs)" (buffer-name) (float-time (time-subtract (current-time) magit-refresh-start-time)))))))
  (let ((refresh (intern (format "%s-refresh-buffer" (substring (symbol-name major-mode) 0 -5)))) (magit--refresh-cache (or magit--refresh-cache (list (cons 0 0))))) (if (functionp refresh) (progn (if magit-refresh-verbose (progn (message "Refreshing buffer `%s'..." (buffer-name)))) (let* ((buffer (current-buffer)) (windows (apply 'append (mapcar ... ...)))) (deactivate-mark) (setq magit-section-highlight-overlays nil) (setq magit-section-highlighted-section nil) (setq magit-section-highlighted-sections nil) (setq magit-section-unhighlight-sections nil) (magit-process-unset-mode-line-error-status) (let ((inhibit-read-only t)) (erase-buffer) (save-excursion (apply refresh (with-no-warnings magit-refresh-args)))) (let ((--dolist-tail-- windows)) (while --dolist-tail-- (let (...) (let* ... ...) (setq --dolist-tail-- ...)))) (run-hooks 'magit-refresh-buffer-hook) (magit-section-update-highlight) (set-buffer-modified-p nil)) (if magit-refresh-verbose (progn (message "Refreshing buffer `%s'...done (%.3fs)" (buffer-name) (float-time (time-subtract ... magit-refresh-start-time))))))))
  magit-refresh-buffer()
  (save-current-buffer (set-buffer buffer) (run-hooks 'magit-setup-buffer-hook) (magit-refresh-buffer))
  (let* ((value (and locked (let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn ... ...) (and ... ...)))))) (buffer (magit-get-mode-buffer mode value)) (section (and buffer (magit-current-section))) (created (not buffer))) (if buffer nil (setq buffer (let ((toplevel0 (magit-toplevel))) (if toplevel0 (let ((default-directory toplevel0)) (magit-generate-new-buffer mode value)) (magit--not-inside-repository-error))))) (save-current-buffer (set-buffer buffer) (setq magit-previous-section section) (funcall mode) (magit-xref-setup 'magit-setup-buffer-internal bindings) (let ((--dolist-tail-- bindings)) (while --dolist-tail-- (let ((x75 (car --dolist-tail--))) (let* ((x76 ...) (x77 ...) (x78 ...) (x79 ...)) (let (... ...) (set ... val))) (setq --dolist-tail-- (cdr --dolist-tail--))))) (if created (progn (magit-status-goto-initial-section) (run-hooks 'magit-create-buffer-hook)))) (magit-display-buffer buffer) (save-current-buffer (set-buffer buffer) (run-hooks 'magit-setup-buffer-hook) (magit-refresh-buffer)) buffer)
  magit-setup-buffer-internal(magit-status-mode nil ((magit-buffer-diff-args ("--no-ext-diff")) (magit-buffer-diff-files nil) (magit-buffer-log-args ("-n256" "--decorate")) (magit-buffer-log-files nil)))
  magit-status-setup-buffer("/home/shae/build/shapr.github.io/")
  magit-status(nil ((17 . 8) (("/home/shae/build/shapr.github.io/" "show" "--no-patch" "--format=%h %s" "HEAD^{commit}" "--") . "cee7133 add open source hearing aid post") (("/home/shae/build/shapr.github.io/" "symbolic-ref" "--short" "HEAD") . "develop") (("/home/shae/build/shapr.github.io/" "rev-parse" "--verify" "HEAD") . "cee71337bf0b4bde2f1d229fd62ac73bac87b335") (("/home/shae/build/shapr.github.io/" . config) . #<hash-table equal 19/65 0xb03071>) (("/home/shae/build/shapr.github.io/" . magit-toplevel) . "/home/shae/build/shapr.github.io/") (("/home/shae/build/shapr.github.io/" "rev-parse" "--show-cdup") . "") (("/home/shae/build/shapr.github.io/" "rev-parse" "--show-toplevel") . "/home/shae/build/shapr.github.io")))
  funcall-interactively(magit-status nil ((17 . 8) (("/home/shae/build/shapr.github.io/" "show" "--no-patch" "--format=%h %s" "HEAD^{commit}" "--") . "cee7133 add open source hearing aid post") (("/home/shae/build/shapr.github.io/" "symbolic-ref" "--short" "HEAD") . "develop") (("/home/shae/build/shapr.github.io/" "rev-parse" "--verify" "HEAD") . "cee71337bf0b4bde2f1d229fd62ac73bac87b335") (("/home/shae/build/shapr.github.io/" . config) . #<hash-table equal 19/65 0xb03071>) (("/home/shae/build/shapr.github.io/" . magit-toplevel) . "/home/shae/build/shapr.github.io/") (("/home/shae/build/shapr.github.io/" "rev-parse" "--show-cdup") . "") (("/home/shae/build/shapr.github.io/" "rev-parse" "--show-toplevel") . "/home/shae/build/shapr.github.io")))
  call-interactively(magit-status record nil)
  command-execute(magit-status record)
  execute-extended-command(nil "magit-status" "magit-stat")
  funcall-interactively(execute-extended-command nil "magit-status" "magit-stat")
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)

The problem started when I did some command line git operations: I renamed a git remote from origin to upstream and then clone a new origin, after which magit-status gave this error for every git repository.

I have tried to remove all things magit and dependencies from my installation, I have tried to upgrade to the latest magit, I continue to get this error. I asked on the #emacs IRC channel and it was unclear what might be causing the problem.

Any help or advice would be appreciated!

closed time in 13 hours

shapr

issue commentmagit/magit

after renaming a git remote from origin to upstream, magit-status gives `Debugger entered--Lisp error: (void-variable upstream)` in all repos

Removing files *.elcin my ~/.emacs.d/elpa/fixed the problem! Does that mean I should report a bug against emacs itself for byte compiling?

shapr

comment created time in 13 hours

push eventDamienCassou/magit

Daniel Fleischer

commit sha b92a490444d6a726a77e2251d7a9c9bd3231b539

magit--handle-bookmark: Mend incompatibility with bookmark+ package Do so by calling bookmark+ jumping function if the package is loaded. In bookmark+, custom handlers are expected to handle jumping if necessary.

view details

Jonas Bernoulli

commit sha c7364e169648f454dc73fe50596d827fbf1f0fb7

magit--make-bookmark: Correct form of return value Do so early on so that any function we call internally can also benefit from use doing things correctly.

view details

push time in 16 hours

fork bbatsov/ruby.style

Collects Ruby Style Guides

https://ruby.style

fork in 17 hours

issue commentmagit/forge

Forge with incorrect user/project name capitalization

Here's how I just reproduced the WrongCaseName error (magit 20210406.454):

  1. git clone git@github.com:jdtsmith/pahfit.git
  2. Edit a file in pahfit directory.
  3. Invoke magit-status.
  4. M a to add a remote, call it upstream, with url git@github.com:pahfit/pahfit.git (after editing the suggested upstream/pahfit.git). Answer no when asked whether to set it as default pushRemote.
  5. f a to fetch everything.
  6. ' f f to fetch all topics with forge: succeeds.
  7. ' l t (and all other topic/issue commands) fails with
Cannot use ‘forge-list-topics’ in "/Users/jdsmith/tmp/pahfit/" yet.
Use `M-x forge-add-repository' before trying again.

And then to recover I simply killed the poorly name remote, and repeated steps 3-7 using the true organization name (+capitalization) with success. This was easy to fix once I understood the issue, but it took some time to do so.

jdtsmith

comment created time in a day

issue commentmagit/magit

a bad gitconfig causes magit to say "not in git repository"

Now I get a "Corrupt Git configuration" where I would expect a "not in git repository". For example, in an empty directory.

Trying a few things, I haven't been able to trigger it.

Not sure if it's related, but it might also have broken C-u C-x g (the scanning of magit-repository-directories)

I usually leave magit-repository-directories at a non-nil value, so perhaps I'm missing something, but populating it with a few items, C-u <magit-status> works okay on my end.

Could you open a dedicated issue with complete recipes to trigger the problems?

Thanks.

verhovsky

comment created time in a day

push eventemacsmirror/emacswiki.org

muto

commit sha 65acba7cf4b3798c5b5be80bc6e5c14dedd83754

Spiff up the "sorting mail" section

view details

AlokSingh

commit sha 4a6d11ca753a45f2ccc51f1449ec2918f16b5148

alternative find-git-dir

view details

DrewAdams

commit sha 8e550e5cbf139aaa7c955cee2d75fa97aa9e2883

no summary available

view details

DrewAdams

commit sha 3f3e5fab76b4d5e356ede21ec95c64e1c021d897

no summary available

view details

DrewAdams

commit sha e3328a1f05bbd852baf5040ddf8c067fc3f4d1aa

no summary available

view details

DrewAdams

commit sha 1a060788580605e7f9b4232acca42dd0b5a93420

no summary available

view details

muto

commit sha 4f9386b8fe901f12959de9159744c8f8a1e38afa

Add a big ol section on mail

view details

push time in a day

issue commentmagit/magit

a bad gitconfig causes magit to say "not in git repository"

I think this might have unintentionally caused a regression? Now I get a "Corrupt Git configuration" where I would expect a "not in git repository". For example, in an empty directory.

verhovsky

comment created time in a day

issue commentmagit/magit

after renaming a git remote from origin to upstream, magit-status gives `Debugger entered--Lisp error: (void-variable upstream)` in all repos

That's a pretty puzzling error, and I'm not seeing any code logic that could lead to something like that or how it could be related to a renamed remote. In your uninstall/reinstall dance, did you make sure to delete elc files?

shapr

comment created time in a day

issue commentmagit/magit

magit-log-margin miscalculates width of date format string

I see Jonas added a label, so he may have been able to reproduce this, but fwiw I tried with Emacs 26.1 and 27.2 (GNU/Linux) on Magit's current master (c7364e16) as well a commit closer to the date you report (8e23c49b) and wasn't able to trigger the problem.

magit-margin

Boruch-Baum

comment created time in a day

startedtarsius/bicycle

started time in a day

startedtarsius/bicycle

started time in a day

issue openedmagit/magit

after renaming a git remote from origin to upstream, magit-status gives `Debugger entered--Lisp error: (void-variable upstream)` in all repos

When I run magit-status I get an error (void-variable upstream) on every git repository I open, newly cloned or old.

My version of magit is 20210414.1306 and my version of emacs is 27.1 and I'm running on NixOS 20.09 (kernel and other details available if helpful).

The entire command line for emacs is emacs -Q --debug-init --eval '(setq debug-on-error t)' -L ../dash-20210330.1544 -L ../git-commit-20210328.1730 -L ../transient-20210315.1902 -L ../with-editor-20210319.1930 -L . -l magit and I'm running in the directory magit-20210414.1306

The debugger trace is

Debugger entered--Lisp error: (void-variable upstream)
  magit-get-upstream-branch("develop")
  magit-insert-upstream-branch-header()
  apply(magit-insert-upstream-branch-header nil)
  magit-run-section-hook(magit-status-headers-hook)
  magit-insert-headers(magit-status-headers-hook)
  magit-insert-status-headers()
  apply(magit-insert-status-headers nil)
  magit-run-section-hook(magit-status-sections-hook)
  magit-status-refresh-buffer()
  apply(magit-status-refresh-buffer nil)
  (save-excursion (apply refresh (with-no-warnings magit-refresh-args)))
  (let ((inhibit-read-only t)) (erase-buffer) (save-excursion (apply refresh (with-no-warnings magit-refresh-args))))
  (let* ((buffer (current-buffer)) (windows (apply 'append (mapcar #'(lambda (it) (ignore it) (let ... ...)) (or (get-buffer-window-list buffer nil t) (list (selected-window))))))) (deactivate-mark) (setq magit-section-highlight-overlays nil) (setq magit-section-highlighted-section nil) (setq magit-section-highlighted-sections nil) (setq magit-section-unhighlight-sections nil) (magit-process-unset-mode-line-error-status) (let ((inhibit-read-only t)) (erase-buffer) (save-excursion (apply refresh (with-no-warnings magit-refresh-args)))) (let ((--dolist-tail-- windows)) (while --dolist-tail-- (let ((x81 (car --dolist-tail--))) (let* ((x82 (car x81)) (x83 (cdr x81))) (let ((args x83) (window x82)) (let (...) (save-current-buffer ...)))) (setq --dolist-tail-- (cdr --dolist-tail--))))) (run-hooks 'magit-refresh-buffer-hook) (magit-section-update-highlight) (set-buffer-modified-p nil))
  (progn (if magit-refresh-verbose (progn (message "Refreshing buffer `%s'..." (buffer-name)))) (let* ((buffer (current-buffer)) (windows (apply 'append (mapcar #'(lambda ... ... ...) (or (get-buffer-window-list buffer nil t) (list ...)))))) (deactivate-mark) (setq magit-section-highlight-overlays nil) (setq magit-section-highlighted-section nil) (setq magit-section-highlighted-sections nil) (setq magit-section-unhighlight-sections nil) (magit-process-unset-mode-line-error-status) (let ((inhibit-read-only t)) (erase-buffer) (save-excursion (apply refresh (with-no-warnings magit-refresh-args)))) (let ((--dolist-tail-- windows)) (while --dolist-tail-- (let ((x81 (car --dolist-tail--))) (let* ((x82 ...) (x83 ...)) (let (... ...) (let ... ...))) (setq --dolist-tail-- (cdr --dolist-tail--))))) (run-hooks 'magit-refresh-buffer-hook) (magit-section-update-highlight) (set-buffer-modified-p nil)) (if magit-refresh-verbose (progn (message "Refreshing buffer `%s'...done (%.3fs)" (buffer-name) (float-time (time-subtract (current-time) magit-refresh-start-time))))))
  (if (functionp refresh) (progn (if magit-refresh-verbose (progn (message "Refreshing buffer `%s'..." (buffer-name)))) (let* ((buffer (current-buffer)) (windows (apply 'append (mapcar #'... (or ... ...))))) (deactivate-mark) (setq magit-section-highlight-overlays nil) (setq magit-section-highlighted-section nil) (setq magit-section-highlighted-sections nil) (setq magit-section-unhighlight-sections nil) (magit-process-unset-mode-line-error-status) (let ((inhibit-read-only t)) (erase-buffer) (save-excursion (apply refresh (with-no-warnings magit-refresh-args)))) (let ((--dolist-tail-- windows)) (while --dolist-tail-- (let ((x81 ...)) (let* (... ...) (let ... ...)) (setq --dolist-tail-- (cdr --dolist-tail--))))) (run-hooks 'magit-refresh-buffer-hook) (magit-section-update-highlight) (set-buffer-modified-p nil)) (if magit-refresh-verbose (progn (message "Refreshing buffer `%s'...done (%.3fs)" (buffer-name) (float-time (time-subtract (current-time) magit-refresh-start-time)))))))
  (let ((refresh (intern (format "%s-refresh-buffer" (substring (symbol-name major-mode) 0 -5)))) (magit--refresh-cache (or magit--refresh-cache (list (cons 0 0))))) (if (functionp refresh) (progn (if magit-refresh-verbose (progn (message "Refreshing buffer `%s'..." (buffer-name)))) (let* ((buffer (current-buffer)) (windows (apply 'append (mapcar ... ...)))) (deactivate-mark) (setq magit-section-highlight-overlays nil) (setq magit-section-highlighted-section nil) (setq magit-section-highlighted-sections nil) (setq magit-section-unhighlight-sections nil) (magit-process-unset-mode-line-error-status) (let ((inhibit-read-only t)) (erase-buffer) (save-excursion (apply refresh (with-no-warnings magit-refresh-args)))) (let ((--dolist-tail-- windows)) (while --dolist-tail-- (let (...) (let* ... ...) (setq --dolist-tail-- ...)))) (run-hooks 'magit-refresh-buffer-hook) (magit-section-update-highlight) (set-buffer-modified-p nil)) (if magit-refresh-verbose (progn (message "Refreshing buffer `%s'...done (%.3fs)" (buffer-name) (float-time (time-subtract ... magit-refresh-start-time))))))))
  magit-refresh-buffer()
  (save-current-buffer (set-buffer buffer) (run-hooks 'magit-setup-buffer-hook) (magit-refresh-buffer))
  (let* ((value (and locked (let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn ... ...) (and ... ...)))))) (buffer (magit-get-mode-buffer mode value)) (section (and buffer (magit-current-section))) (created (not buffer))) (if buffer nil (setq buffer (let ((toplevel0 (magit-toplevel))) (if toplevel0 (let ((default-directory toplevel0)) (magit-generate-new-buffer mode value)) (magit--not-inside-repository-error))))) (save-current-buffer (set-buffer buffer) (setq magit-previous-section section) (funcall mode) (magit-xref-setup 'magit-setup-buffer-internal bindings) (let ((--dolist-tail-- bindings)) (while --dolist-tail-- (let ((x75 (car --dolist-tail--))) (let* ((x76 ...) (x77 ...) (x78 ...) (x79 ...)) (let (... ...) (set ... val))) (setq --dolist-tail-- (cdr --dolist-tail--))))) (if created (progn (magit-status-goto-initial-section) (run-hooks 'magit-create-buffer-hook)))) (magit-display-buffer buffer) (save-current-buffer (set-buffer buffer) (run-hooks 'magit-setup-buffer-hook) (magit-refresh-buffer)) buffer)
  magit-setup-buffer-internal(magit-status-mode nil ((magit-buffer-diff-args ("--no-ext-diff")) (magit-buffer-diff-files nil) (magit-buffer-log-args ("-n256" "--decorate")) (magit-buffer-log-files nil)))
  magit-status-setup-buffer("/home/shae/build/shapr.github.io/")
  magit-status(nil ((17 . 8) (("/home/shae/build/shapr.github.io/" "show" "--no-patch" "--format=%h %s" "HEAD^{commit}" "--") . "cee7133 add open source hearing aid post") (("/home/shae/build/shapr.github.io/" "symbolic-ref" "--short" "HEAD") . "develop") (("/home/shae/build/shapr.github.io/" "rev-parse" "--verify" "HEAD") . "cee71337bf0b4bde2f1d229fd62ac73bac87b335") (("/home/shae/build/shapr.github.io/" . config) . #<hash-table equal 19/65 0xb03071>) (("/home/shae/build/shapr.github.io/" . magit-toplevel) . "/home/shae/build/shapr.github.io/") (("/home/shae/build/shapr.github.io/" "rev-parse" "--show-cdup") . "") (("/home/shae/build/shapr.github.io/" "rev-parse" "--show-toplevel") . "/home/shae/build/shapr.github.io")))
  funcall-interactively(magit-status nil ((17 . 8) (("/home/shae/build/shapr.github.io/" "show" "--no-patch" "--format=%h %s" "HEAD^{commit}" "--") . "cee7133 add open source hearing aid post") (("/home/shae/build/shapr.github.io/" "symbolic-ref" "--short" "HEAD") . "develop") (("/home/shae/build/shapr.github.io/" "rev-parse" "--verify" "HEAD") . "cee71337bf0b4bde2f1d229fd62ac73bac87b335") (("/home/shae/build/shapr.github.io/" . config) . #<hash-table equal 19/65 0xb03071>) (("/home/shae/build/shapr.github.io/" . magit-toplevel) . "/home/shae/build/shapr.github.io/") (("/home/shae/build/shapr.github.io/" "rev-parse" "--show-cdup") . "") (("/home/shae/build/shapr.github.io/" "rev-parse" "--show-toplevel") . "/home/shae/build/shapr.github.io")))
  call-interactively(magit-status record nil)
  command-execute(magit-status record)
  execute-extended-command(nil "magit-status" "magit-stat")
  funcall-interactively(execute-extended-command nil "magit-status" "magit-stat")
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)

The problem started when I did some command line git operations: I renamed a git remote from origin to upstream and then clone a new origin, after which magit-status gave this error for every git repository.

I have tried to remove all things magit and dependencies from my installation, I have tried to upgrade to the latest magit, I continue to get this error. I asked on the #emacs IRC channel and it was unclear what might be causing the problem.

Any help or advice would be appreciated!

created time in a day

startedtarsius/outline-minor-faces

started time in a day

startedtarsius/bicycle

started time in a day

startedtarsius/outline-minor-faces

started time in a day

startedtarsius/bicycle

started time in a day

startedtarsius/outline-minor-faces

started time in a day

startedtarsius/outline-minor-faces

started time in a day

startedtarsius/bicycle

started time in a day

startedtarsius/minions

started time in 2 days

push eventemacsmirror/emacswiki.org

muto

commit sha 44526547ddd93527bbbe405ae5b23f10c553f0c3

Removing certs because I can't tell if I can trust them, and to remove. visual clutter.

view details

muto

commit sha a35d302ebd2afa390c8ce6bceb31df4f677db120

Fix indentation on code example

view details

muto

commit sha ba00fd85d9c5c340dc8e91bc5c5114e9430120ec

Organize & add external links

view details

muto

commit sha 3a89fb6f2bfb9a3a95dd3524c3f7dda042f075d4

Simplify the msmtp config

view details

muto

commit sha 054cf6d4a1e8aed8455650ce67e3cdf3ee33e391

edit the msmtp descriptions

view details

muto

commit sha 54ba920a14afd091c830d6656edfeaaf3b1453bd

Put the note on babyl conversion in the "file formats" section

view details

push time in 2 days

created repositoryeschulte/macros

created time in 2 days