Hi,
I love magit, but for some reason on my git-svn repo at work I keep
getting errors when I try do stage a hunk instead of an entire file.
Debugger entered--Lisp error: (error "Git failed")
signal(error ("Git failed"))
error("Git failed")
magit-run*(("git" "--no-pager" "apply" "--cached" "-") nil nil nil
nil #<buffer *magit-tmp*>)
#[nil "ÄÅ B\n\"Æ&" [magit-git-executable magit-git-standard-
options args input magit-run* append nil] 7]()
magit-refresh-wrapper(#[nil "ÄÅ B\n\"Æ&" [magit-git-executable
magit-git-standard-options args input magit-run* append nil] 7])
magit-run-git-with-input(#<buffer *magit-tmp*> "apply" "--cached"
"-")
apply(magit-run-git-with-input #<buffer *magit-tmp*> "apply" ("--
cached" "-"))
magit-apply-hunk-item*([cl-struct-magit-section [cl-struct-magit-
section [cl-struct-magit-section [cl-struct-magit-section nil status 1
1459 ... nil nil nil nil] unstaged 213 1382 ... nil nil nil nil]
"httpdocs/cc/login/admin/add_student/v2/start/index.php" 289 1382 (#0)
nil diff (modified "httpdocs/cc/login/admin/add_student/v2/start/
index.php" nil) nil] "@@ -84,13 +84,13 @@" 631 1382 nil nil hunk nil
nil] nil "--cached")
apply(magit-apply-hunk-item* [cl-struct-magit-section [cl-struct-
magit-section [cl-struct-magit-section [cl-struct-magit-section nil
status 1 1459 ... nil nil nil nil] unstaged 213 1382 ... nil nil nil
nil] "httpdocs/cc/login/admin/add_student/v2/start/index.php" 289 1382
(#0) nil diff (modified "httpdocs/cc/login/admin/add_student/v2/start/
index.php" nil) nil] "@@ -84,13 +84,13 @@" 631 1382 nil nil hunk nil
nil] nil "--cached")
magit-apply-hunk-item([cl-struct-magit-section [cl-struct-magit-
section [cl-struct-magit-section [cl-struct-magit-section nil status 1
1459 ... nil nil nil nil] unstaged 213 1382 ... nil nil nil nil]
"httpdocs/cc/login/admin/add_student/v2/start/index.php" 289 1382 (#0)
nil diff (modified "httpdocs/cc/login/admin/add_student/v2/start/
index.php" nil) nil] "@@ -84,13 +84,13 @@" 631 1382 nil nil hunk nil
nil] "--cached")
#[nil "Å ÆH >
from *magit-process*
$ git --no-pager apply --cached -
error: patch failed: httpdocs/cc/login/admin/add_student/v2/start/
index.php:84
error: httpdocs/cc/login/admin/add_student/v2/start/index.php: patch
does not apply
Process git exited abnormally with code 1
Up until recently it has worked just fine. I'm not sure if this is
something I've done wrong or what...
Dave