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

Enhancement: show diff stat in diff_view #733

Merged
merged 1 commit into from
Aug 13, 2017
Merged

Enhancement: show diff stat in diff_view #733

merged 1 commit into from
Aug 13, 2017

Conversation

randy3k
Copy link
Collaborator

@randy3k randy3k commented Aug 12, 2017

diff stat is currently shown in show_commit_view, this PR makes it also available to diff_view. Also, contains a small tweak to the syntax files.


The maintainers of this repo require that all pull request submitters agree and adhere to the following:

  • I have read and agree to the contribution guidelines.
    (required)
  • All related documentation has been updated to reflect the changes made. (required)
  • My commit messages are cleaned up and ready to merge. (required)

The maintainers of this repository require you to select the semantic version type that
the changes in this pull request represent. Please select one of the following:

  • major
  • minor
  • patch
  • documentation only

@maintainerd
Copy link

maintainerd bot commented Aug 12, 2017

maintainerd logging is enabled for this repository.

All actions related to rules and their enforcement will be logged here as a permanent record.


Click to view log...

  • 2017-08-12T20:57:56.628Z:34de565: The pull request was created
  • 2017-08-12T20:58:05.290Z:34de565: @randy3k checked I have read and agree to the [contribution guidelines](https://github.com/divmain/GitSavvy/blob/master/CONTRIBUTING.md)..
  • 2017-08-12T20:58:06.022Z:34de565: @randy3k checked All related documentation has been updated to reflect the changes made. _(required)_.
  • 2017-08-12T20:58:06.512Z:34de565: @randy3k checked My commit messages are cleaned up and ready to merge. _(required)_.
  • 2017-08-12T20:58:07.124Z:34de565: @randy3k selected patch as the semantic version.

@@ -6,7 +6,7 @@ hidden: true
scope: git-savvy.commit-diffstat
contexts:
main:
- match: ^ (.+) \| +(\d+) (\+*)(-*)$\n?
- match: ^ (\S.+) \| +(\d+) (\+*)(-*)$\n?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this for?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(.+) will also match space, just to make sure it won't accidentally match sth else.

@randy3k randy3k merged commit 9d3a53b into timbrel:master Aug 13, 2017
@randy3k randy3k deleted the diff_stat branch August 13, 2017 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants