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

Fix: --date option in gbl can not be overridden anymore #385

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

sandr01d
Copy link
Collaborator

@sandr01d sandr01d commented Apr 19, 2024

Check list

  • I have performed a self-review of my code
  • I have commented my code in hard-to-understand areas
  • I have made corresponding changes to the documentation

Description

The order of the arguments passed to git blame in _forgit_blame_preview has been changed in bfffda6, putting --date=short as the last argument instead of the first. This caused it taking precedence of anything defined in $FORGIT_BLAME_GIT_OPTS. This PR restores the order of the arguments to what they were before bfffda6.

Type of change

  • Bug fix
  • New feature
  • Refactor
  • Breaking change
  • Documentation change

Test environment

  • Shell
    • bash
    • zsh
    • fish
  • OS
    • Linux
    • Mac OS X
    • Windows
    • Others:

The order of the arguments passed to git blame in _forgit_blame_preview
has been changed in bfffda6, putting --date=short as the last argument
instead of the first. This caused it taking precedence of anything
defined in $FORGIT_BLAME_GIT_OPTS.
This commit restores the order of the arguments to what they were before
bfffda6.
@sandr01d sandr01d merged commit c76b00b into wfxr:master Apr 25, 2024
4 checks passed
@sandr01d sandr01d deleted the gbl-date branch April 26, 2024 21:35
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.

2 participants