Skip to content
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

Show Diff Lines From A Commit/Id #232

Closed
umitkablan opened this issue Mar 9, 2017 · 2 comments
Closed

Show Diff Lines From A Commit/Id #232

umitkablan opened this issue Mar 9, 2017 · 2 comments
Labels

Comments

@umitkablan
Copy link

Thanks for the very useful/VCS agnostic plugin.

Do you have plans to show diff from a buffer-local-determined commit-ID? I am aware that plugin has many different VCS support but this commit ID might mean different concepts for each.

Best Regards,

@mhinz
Copy link
Owner

mhinz commented Mar 13, 2017

Sorry, we have no plans to add an extra feature like that for the very reason you mentioned.

Currently we have a single command for each VCS that is used to get the diff. You can change those commands, though. Have a look at :h g:signify_vcs_cmds. Maybe that's good enough for your use case already.

@mhinz mhinz added the question label Mar 13, 2017
@mhinz mhinz closed this as completed Mar 13, 2017
@coderonline
Copy link

I am currently using
:let g:signify_vcs_cmds={'git': 'git diff --no-color --no-ext-diff -U0 HEAD~1: -- %f'}|:SignifyRefresh
and am very happy with it. It is a great help when working in an unknown code repo to get an impression where people are currently working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants