Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Replicate upstream git logic for alias commands#8129

Merged
faho merged 1 commit into
fish-shell:masterfish-shell/fish-shell:masterfrom
rocketraman:git-alias-command-extractionrocketraman/fish-shell:git-alias-command-extractionCopy head branch name to clipboard
Jul 12, 2021
Merged

Replicate upstream git logic for alias commands#8129
faho merged 1 commit into
fish-shell:masterfish-shell/fish-shell:masterfrom
rocketraman:git-alias-command-extractionrocketraman/fish-shell:git-alias-command-extractionCopy head branch name to clipboard

Conversation

@rocketraman

Copy link
Copy Markdown
Contributor

Description

This (partially) replicates the git upstream logic for extracting a git command from a git alias. Currently fish ignores all aliases that start with ! -- we now attempt to parse these instead.

Fixes issue #3954.

TODOs:

  • Changes to fish usage are reflected in user documentation/manpages.
  • Tests have been added for regressions fixed
  • User-visible changes noted in CHANGELOG.rst

Comment thread share/completions/git.fish Outdated
Comment thread share/completions/git.fish
@rocketraman
rocketraman force-pushed the git-alias-command-extraction branch from 4df3542 to e184f1e Compare July 12, 2021 12:56
@rocketraman

Copy link
Copy Markdown
Contributor Author

@faho I've updated the link to the git repo to point to a specific commit. Let me know what else I should do here. I'm using this locally and getting significantly better git alias completion in fish.

@faho faho added this to the fish 3.4.0 milestone Jul 12, 2021
@faho
faho merged commit ed7a64e into fish-shell:master Jul 12, 2021
@faho

faho commented Jul 12, 2021

Copy link
Copy Markdown
Member

Merged, thanks!

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jul 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.