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: git log should explicitly separate branch from paths #5911

Merged
merged 1 commit into from
Dec 2, 2022
Merged

fix: git log should explicitly separate branch from paths #5911

merged 1 commit into from
Dec 2, 2022

Conversation

CDN18
Copy link
Contributor

@CDN18 CDN18 commented Dec 1, 2022

The git storage module will encounter an error when a file with the same branch name exists in the root directory of the repo.

fatal: ambiguous argument 'branch_name': both revision and filename
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

This pull request will fix the problem by adding -- after the this.config.branch param of the git log command.

@NGPixel NGPixel merged commit 73af37b into requarks:main Dec 2, 2022
davidflypei pushed a commit to davidflypei/wiki that referenced this pull request Jun 13, 2023
jionggyu pushed a commit to jionggyu/wiki-2.5.302-patch that referenced this pull request Jul 9, 2024
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