This is one of the errors I get:
Debugger entered--Lisp error: (error "Already staged")
signal(error ("Already staged"))
error("Already staged")
#[nil "Å ÆH >
It also happens when I hit enter on a deleted line.
Debugger entered--Lisp error: (error "Can't visit removed lines")
signal(error ("Can't visit removed lines"))
error("Can't visit removed lines")
magit-hunk-item-target-line([cl-struct-magit-section
[cl-struct-magit-section [cl-struct-magit-section [cl-struct-magit-section
nil status 1 2260 ... nil nil nil nil] staged 1427 2259 ... nil nil nil nil]
"app/controllers/classifieds/item_controller.rb" 1443 2259 (#0) nil diff
(modified "app/controllers/classifieds/item_controller.rb" nil) nil] "@@
-20,7 +20,7 @@" 1745 2259 nil nil hunk nil nil])
#[nil "Æ ÇH >
Usually any error screws it.
Another example:
Debugger entered--Lisp error: (error "Git failed")
signal(error ("Git failed"))
error("Git failed")
magit-run*(("git" "--no-pager" "stash" "apply" "st...@{0}"))
#[nil "ÃÄ B\n\"!" [magit-git-executable magit-git-standard-options args
magit-run* append] 4]()
magit-refresh-wrapper(#[nil "ÃÄ B\n\"!" [magit-git-executable
magit-git-standard-options args magit-run* append] 4])
magit-run-git("stash" "apply" "st...@{0}")
#[nil "Å ÆH >
$ git --no-pager stash apply st...@{0}
Auto-merging app/controllers/classifieds/item_controller.rb
Auto-merging app/views/classifieds/item/map.html.erb
CONFLICT (add/add): Merge conflict in
app/views/classifieds/item/map.html.erb
Auto-merging app/views/classifieds/shared/fields/display/_map.html.erb
CONFLICT (content): Merge conflict in
app/views/classifieds/shared/fields/display/_map.html.erb
Auto-merging config/routes.rb
CONFLICT (content): Merge conflict in config/routes.rb
Thanks
On Fri, May 14, 2010 at 1:27 PM, Philip Jackson <[email protected]>wrote:
> At Fri, 14 May 2010 04:16:17 -0700 (PDT),
> theturingmachine wrote:
> >
> > First of all, let me just thank you for all the hard work you put on
> > making magit.
> >
> > The only problem I have with it is when I get an error, then it just
> > hangs, it doesn't refresh or anything. If I close the buffer and the
> > magit process it doesn't help. Then I have to restart emacs to get it
> > working again.
> >
> > Is there any way to get magit to restart, without closing my emacs?
>
> Do you know which error causes this? Press '$' when it happens and let
> us know the output. You might be stuck at a password prompt we don't
> test for or something.
>
> Cheers,
> Phil
>