Skip to content

@CJTozer CJTozer released this May 3, 2019

You can now invoke DiffView from other plugins. See here for details.

window.run_command(
    "diff_view",
    {
        "diff_args": "origin/your-base...origin/your-branch",
        "cwd": "/your/cwd",
    },
)
Assets 2

@CJTozer CJTozer released this Jul 8, 2017 · 8 commits to master since this release

As suggested in #50, adding an option to have the "Persistent List" view show just one line per file, which can then be expanded with full details.

By default this is off, to turn on use this setting:

{
    // Whether to collapse each file's list of changes in the "persistent_list" view.
    "collapse_diff_list": true,
}

By default use Tab to toggle expansion/collapsing of the list of changes in a file.

Assets 2

@CJTozer CJTozer released this Jul 2, 2017 · 11 commits to master since this release

Fix for #48, where when a diff showed only one change, it would not display properly except for the first time the plugin was used.

Assets 2

@CJTozer CJTozer released this Nov 11, 2016 · 13 commits to master since this release

  • Write files consistently in UTF-8 (potential fix for #44)
  • Make debug: true less spammy when there are no errors
Assets 2

@CJTozer CJTozer released this Oct 25, 2016 · 15 commits to master since this release

Features:

  • debug setting to determine whether VCS commands are traced to console
  • minor perf improvement
  • fix for files/directories with spaces in the name
Assets 2

@CJTozer CJTozer released this Feb 24, 2016 · 22 commits to master since this release

Thanks to @3v1n0 for providing a PR for Bazaar support.

Full options for Bazaar are available in the README.

Assets 2

@CJTozer CJTozer released this Feb 19, 2016 · 29 commits to master since this release

Fixes a bug where long filenames are truncated by git diff --stat, and then we can't find them to show the diff.

Assets 2

@CJTozer CJTozer released this Jan 20, 2016 · 31 commits to master since this release

Merge pull request #35 from CJTozer/develop

Fix diff for filenames with spaces
Assets 2

@CJTozer CJTozer released this Jan 12, 2016 · 38 commits to master since this release

Specifying "merge-base" diffs - e.g. master... should now work.

(See Git docs if you want to know more about master...-style diffs).

Fixes #31.

Assets 2

@CJTozer CJTozer released this Jan 9, 2016 · 50 commits to master since this release

The default view style has changed to be "persistent_list" instead of "quick_panel". I think this is a better option, and so have decided it should be what new users get.

To set the view back to "quick_panel":

  • go to "Preferences -> Package Settings -> DiffView -> Settings - User"
  • add the following option to your settings:
{
  "view_style": "quick_panel"
}
Assets 2
You can’t perform that action at this time.