Repository navigation
Add context option for filter diffs - #421
Merged
Merged
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #421 +/- ##
==========================================
- Coverage 54.63% 54.52% -0.12%
==========================================
Files 53 53
Lines 4448 4457 +9
==========================================
Hits 2430 2430
- Misses 1877 1886 +9
Partials 141 141 ☔ View full report in Codecov by Sentry. |
mbrt
requested changes
Jan 18, 2025
mbrt
left a comment
Owner
There was a problem hiding this comment.
Great stuff, left only minor comments, thanks!
kpengboy
force-pushed
the
diff-context
branch
from
January 19, 2025 04:23
f1d5a5e to
791e30f
Compare
This adds a `--context` option to the `diff` subcommand and a `--diff-context` option to the `apply` and `edit` commands. The option allows the number of lines of diff context to be customized, which is helpful for verifying the correctness of changes to more complex filters.
kpengboy
force-pushed
the
diff-context
branch
from
January 19, 2025 04:26
791e30f to
7dd5035
Compare
social4hyq
pushed a commit
to social4hyq/homebrew-core
that referenced
this pull request
Sep 20, 2026
gmailctl 0.12.0 Created-by: HarmonybrewBot Commit-by: HarmonybrewBot Merged-by: HarmonybrewBot Description: Created by `brew bump` --- Created with `brew bump-formula-pr`.<details> <summary>release notes</summary> <pre>## What's Changed ### New features * Add `--debug` flag to display Gmail search URL by @izidormatusov in mbrt/gmailctl#409 * Add context option for filter diffs by @kpengboy in mbrt/gmailctl#421 ### Maintenance and bug fixing * Update README.md - 'of' -> 'or' by @ChrisCarini in mbrt/gmailctl#369 * typo; `togheter` -> `together` by @ChrisCarini in mbrt/gmailctl#370 * fix typos by @RayBB in mbrt/gmailctl#380 * Move tmp files for edit command next to config file. by @mbrt in mbrt/gmailctl#386 * Skip quoting if args are already quoted. by @mbrt in mbrt/gmailctl#391 * Make init message less confusing by @mbrt in mbrt/gmailctl#394 * Configure Renovate by @renovate[bot] in mbrt/gmailctl#397 * Update min go version to 1.21 by @mbrt in mbrt/gmailctl#403 * fix missing close file in edit command by @testwill in mbrt/gmailctl#404 * Onboard to codecov by @mbrt in mbrt/gmailctl#406 * Bump golang.org/x/crypto from 0.29.0 to 0.31.0 by @dependabot[bot] in mbrt/gmailctl#418 * Fix initialization of cfgDir by @kpengboy in mbrt/gmailctl#422 * Allowing to specify a port for OAuth server by @kipelovets in mbrt/gmailctl#430 * Colorize diff output by @kpengboy in mbrt/gmailctl#423 * Fix code scanning alert: Workflow does not contain permissions by @mbrt in mbrt/gmailctl#439 * feat (warning): Improve details of any invalid filters found by @jafin in mbrt/gmailctl#440 * Update README with Windows editor configuration by @jafin in mbrt/gmailctl#441 * task(workflow): Replace matrix build with GoReleaser for releases by @gene1wood in mbrt/gmailctl#450 * Add category PURCHASES by @mbrt in mbrt/gmailctl#453 ## New Contributors * @ChrisCarini made their first contribution in mbrt/gmailctl#369 * @RayBB made their first contribution in mbrt/gmailctl#380 * @renovate[bot] made their first contribution in mbrt/gmailctl#397 * @testwill made their first contribution in mbrt/gmailctl#404 * @izidormatusov made their first contribution in mbrt/gmailctl#409 * @kpengboy made their first contribution in mbrt/gmailctl#422 * @kipelovets made their first contribution in mbrt/gmailctl#430 * @jafin made their first contribution in mbrt/gmailctl#440 * @gene1wood made their first contribution in mbrt/gmailctl#450 **Full Changelog**: https://github.com/mbrt/gmailctl/compare/v0.10.7...v0.12.0</pre> <p>View the full release notes at <a href="https://github.com/mbrt/gmailctl/releases/tag/v0.12.0">https://github.com/mbrt/gmailctl/releases/tag/v0.12.0</a>.</p> </details> <hr> See merge request: Harmonybrew/homebrew-core!3726
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a
--contextoption to thediffsubcommand and a--diff-contextoption to theapplyandeditcommands. The option allows the number of lines of diff context to be customized, which is helpful for verifying the correctness of changes to more complex filters.