sindrets / diffview.nvim

Single tabpage interface for easily cycling through diffs for all modified files for any git rev.
Other
4.02k stars 111 forks source link

[Request] Support for older version of GIT #270

Closed vignesh0025 closed 1 year ago

vignesh0025 commented 1 year ago

Is there any possibility to support older version of Git ? Atleast versions released from last 5 years or something ?

In work environment, tool versions are fixed at the start of the project and there's no simple way to upgrade Git's version.

sindrets commented 1 year ago

I'm afraid not. I'm pretty much the sole maintainer of this project, and I don't believe I have the capacity to support multiple git versions. Git 2.31 includes some features that are crucial to how I query the git history.

However, I want to point out that you don't need to install the required Git version system-wide. You can install it wherever you want is your user-space and configure diffview to use that binary with :h diffview-config-git_cmd.

vignesh0025 commented 1 year ago

Thank you for the awesome plugin. diffview-config-git_cmd solved the issue.