-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vim-fugitiveを入れた状態でseparate-git-dirなリポジトリの未コミット差分が見えない #48
Comments
リポジトリパスの取得方法にfugitive.vimの有無で差異があるようです。 以下のような状況を仮定します。 このとき、リポジトリの場所が以下のように判定されます。 未コミット差分を見る際、「作業ツリー=リポジトリの親ディレクトリ」としているので、 fugitive.vimありの場合、最終的に取得できる作業ツリーの場所が誤っているため、 リポジトリの場所、作業ツリーの場所、 |
報告ありがとうございます&対応遅くなりすみません。 |
ちなみにですが、Git のバージョンを教えていただいても良いでしょうか? |
Mac OS XのHomeBrewで入れたGit 2.4.5です。 |
git clone時に--separate-git-dir=...オプションを使用して作業ツリーを分離したリポジトリをagit.vimで見た際、
未コミット差分が "fatal: This operation must be run in a work tree" とエラーになります。
agit.vimの他にvim-fugitiveが入っていると現象が発生し、
agit.vim単独では発生しません。
The text was updated successfully, but these errors were encountered: