Сбой Magit-статуса в каталоге git - PullRequest
0 голосов
/ 23 февраля 2019

У меня проблема с Magit на Emacs 25.1.1.Когда я пытаюсь сделать magit-status для каталога git, я получаю следующую ошибку: apply: Установка текущего каталога: недопустимый аргумент, c: / configfiles ^ M /

Я не могу понять, почему ctrl-m добавляется в каталог.Когда я проверяю то же самое на оболочке cygwin, я не вижу этой проблемы.

Заранее благодарен за вашу помощь.

BackTrace ниже:

Debugger entered--Lisp error: (file-error "Setting current directory" "Invalid argument" "c:/users/evijyaj/DropBox/MANA/emulator\015/")
  call-process("C:/cygwin64/usr/libexec/git-core/git.exe" nil (t nil) nil "--no-pager" "--literal-pathspecs" "-c" "core.preloadindex=true" "-c" "log.showSignature=false" "-c" "i18n.logOutputEncoding=UTF-8" "config" "--list" "-z")
  apply(call-process "C:/cygwin64/usr/libexec/git-core/git.exe" nil (t nil) nil ("--no-pager" "--literal-pathspecs" "-c" "core.preloadindex=true" "-c" "log.showSignature=false" "-c" "i18n.logOutputEncoding=UTF-8" "config" "--list" "-z"))
  process-file("C:/cygwin64/usr/libexec/git-core/git.exe" nil (t nil) nil "--no-pager" "--literal-pathspecs" "-c" "core.preloadindex=true" "-c" "log.showSignature=false" "-c" "i18n.logOutputEncoding=UTF-8" "config" "--list" "-z")
  apply(process-file "C:/cygwin64/usr/libexec/git-core/git.exe" nil (t nil) nil ("--no-pager" "--literal-pathspecs" "-c" "core.preloadindex=true" "-c" "log.showSignature=false" "-c" "i18n.logOutputEncoding=UTF-8" "config" "--list" "-z"))
  magit-process-file("C:/cygwin64/usr/libexec/git-core/git.exe" nil (t nil) nil "--no-pager" "--literal-pathspecs" "-c" "core.preloadindex=true" "-c" "log.showSignature=false" "-c" "i18n.logOutputEncoding=UTF-8" "config" "--list" "-z")
  apply(magit-process-file "C:/cygwin64/usr/libexec/git-core/git.exe" nil (t nil) nil ("--no-pager" "--literal-pathspecs" "-c" "core.preloadindex=true" "-c" "log.showSignature=false" "-c" "i18n.logOutputEncoding=UTF-8" "config" "--list" "-z"))
  magit-git-insert("config" "--list" "-z")
  apply(magit-git-insert ("config" "--list" "-z"))
  magit-git-items("config" "--list" "-z")
  magit-config-get-from-cached-list("magit.extension")
  magit-get-all("magit.extension")
  magit-load-config-extensions()
  run-hooks(change-major-mode-after-body-hook special-mode-hook magit-mode-hook magit-status-mode-hook)
  apply(run-hooks (change-major-mode-after-body-hook special-mode-hook magit-mode-hook magit-status-mode-hook))
  run-mode-hooks(magit-status-mode-hook)
  magit-status-mode()
  magit-mode-setup-internal(magit-status-mode nil)
  magit-mode-setup(magit-status-mode)
  magit-status-internal("c:/users/evijyaj/DropBox/MANA/emulator/src/ericsson/appexamples/handoverAgent/")
  magit(nil ((1 . 6) (("c:/users/evijyaj/DropBox/MANA/emulator\015/" . magit-toplevel)) (("c:/users/evijyaj/DropBox/MANA/" "rev-parse" "--git-dir")) (("c:/users/evijyaj/DropBox/MANA/" "rev-parse" "--show-toplevel")) (("c:/users/evijyaj/DropBox/MANA/emulator/src/ericsson/appexamples/handoverAgent/" . magit-toplevel) . "c:/users/evijyaj/DropBox/MANA/emulator\015/") (("c:/users/evijyaj/DropBox/MANA/emulator/src/ericsson/appexamples/handoverAgent/" "rev-parse" "--show-toplevel") . "/cygdrive/c/users/evijyaj/DropBox/MANA/emulator\015")))
  funcall-interactively(magit nil ((1 . 6) (("c:/users/evijyaj/DropBox/MANA/emulator\015/" . magit-toplevel)) (("c:/users/evijyaj/DropBox/MANA/" "rev-parse" "--git-dir")) (("c:/users/evijyaj/DropBox/MANA/" "rev-parse" "--show-toplevel")) (("c:/users/evijyaj/DropBox/MANA/emulator/src/ericsson/appexamples/handoverAgent/" . magit-toplevel) . "c:/users/evijyaj/DropBox/MANA/emulator\015/") (("c:/users/evijyaj/DropBox/MANA/emulator/src/ericsson/appexamples/handoverAgent/" "rev-parse" "--show-toplevel") . "/cygdrive/c/users/evijyaj/DropBox/MANA/emulator\015")))
  call-interactively(magit record nil)
  command-execute(magit record)
  #f(compiled-function (cmd) #<bytecode 0x2bdeeb5>)("magit")
  ivy-call()
...