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

options don't support "--option=..." ? #266

Closed
liuyinz opened this issue Sep 4, 2023 · 4 comments
Closed

options don't support "--option=..." ? #266

liuyinz opened this issue Sep 4, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@liuyinz
Copy link
Contributor

liuyinz commented Sep 4, 2023

Describe the bug

'~' (tilde) path expansion error when using style --option=~/....
For example, style like --repository=~/.config/REPO, always return error , but --repository ~/.config/REPO is fine.
I test bash and zsh, same error happens both of them. So it's my wrong usage, or it's a bug, or git-cliff don't support style like --option=... ?

To reproduce

  1. choose any git repository REPO
  2. run git --repository=~/.config/REPO
  3. see the error ERROR git_cliff > IO error: repository path not found

Expected behavior
command exit successfully

Software information

  • OS Information: macos 12.6.8
  • Project Version: 1.3.0
@liuyinz liuyinz added the bug Something isn't working label Sep 4, 2023
@welcome
Copy link

welcome bot commented Sep 4, 2023

Thanks for opening your first issue at git-cliff! Be sure to follow the issue template! ⛰️

@liuyinz liuyinz changed the title options don't support '~' (tilde) ? options don't support "--option=..." ? Sep 4, 2023
@orhun
Copy link
Owner

orhun commented Sep 8, 2023

Hello! This should be fixed in 8698bc2

@liuyinz
Copy link
Contributor Author

liuyinz commented Sep 8, 2023

Thanks, should I must built from source? I ususlly install from ctates.io.

@liuyinz liuyinz closed this as completed Sep 8, 2023
@liuyinz
Copy link
Contributor Author

liuyinz commented Sep 8, 2023

Test ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants