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

Fork doesn't show commits if repo contains a file named HEAD #284

Closed
ericchan1341 opened this issue May 22, 2019 · 5 comments
Closed

Fork doesn't show commits if repo contains a file named HEAD #284

ericchan1341 opened this issue May 22, 2019 · 5 comments
Milestone

Comments

@ericchan1341
Copy link

@ericchan1341 ericchan1341 commented May 22, 2019

image
As you can see there is no branch UI whatsoever. I can switch/create branch but nothing will display. Other repo are able to display normally. All the repo are in github and they are created in the same fashion.

@ericchan1341
Copy link
Author

@ericchan1341 ericchan1341 commented May 22, 2019

image
Tested with Sourcetree and it is fine

Loading

@DanPristupov DanPristupov transferred this issue from fork-dev/Tracker May 22, 2019
@DanPristupov
Copy link
Contributor

@DanPristupov DanPristupov commented May 22, 2019

Hard to say. Check %localappdata%\fork\logs\fork.log

Loading

@ericchan1341
Copy link
Author

@ericchan1341 ericchan1341 commented May 23, 2019

I 2019-05-22 19:03:47.772 Last update check: 21/5/2019 8:51:25 PM. Next one: 22/5/2019 8:51:25 PM
I 2019-05-22 19:03:47.932 Restoring 2 sessions.
I 2019-05-22 19:03:48.415 RefreshRepositoryData
I 2019-05-22 19:03:48.415 Main: 918, Window: 1485, WindowLoaded: 283, UiReady: 488, Total: 2256
D 2019-05-22 19:03:48.422 Esports RefreshRepositoryDataGitCommand All
D 2019-05-22 19:03:48.474 Loading Esports settings.
W 2019-05-22 19:03:48.723 Git request caused error 'log --branches --remotes --tags HEAD --max-count=25000 --date-order --pretty=format:%H
%T
%P
%an
%ae
%at
%s':
fatal: ambiguous argument 'HEAD': both revision and filename
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

I 2019-05-22 19:03:48.723 Refresh 'Esports' data. Updated.
I 2019-05-22 19:03:48.804 RefreshRepositoryStatus
I 2019-05-22 19:03:48.962 Refresh 'Esports' status. Updated 0 files
I 2019-05-22 19:03:48.975 RefreshAheadBehindInfo
I 2019-05-22 19:04:47.660 Automatically fetching 'CurseOfTheRoyalFortune'
I 2019-05-22 19:04:48.758 Automatically fetching 'Esports'
I 2019-05-22 19:04:51.994 RefreshRepositoryData
D 2019-05-22 19:04:51.994 Esports RefreshRepositoryDataGitCommand -500
D 2019-05-22 19:04:52.049 Detected changed reference
W 2019-05-22 19:04:52.098 Git request caused error 'log --branches --remotes --tags HEAD --max-count=25000 --date-order --pretty=format:%H
%T
%P
%an
%ae
%at
%s':
fatal: ambiguous argument 'HEAD': both revision and filename
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

I 2019-05-22 19:04:52.098 Refresh 'Esports' data. Updated.
I 2019-05-22 19:04:52.114 RefreshAheadBehindInfo
I 2019-05-22 19:08:45.265 RefreshRepositoryData
D 2019-05-22 19:08:45.270 Saving settings.
D 2019-05-22 19:08:45.270 Esports RefreshRepositoryDataGitCommand All
I 2019-05-22 19:08:45.284 RefreshRepositoryData
D 2019-05-22 19:08:45.305 CurseOfTheRoyalFortune RefreshRepositoryDataGitCommand All
D 2019-05-22 19:08:45.710 Loading CurseOfTheRoyalFortune settings.
D 2019-05-22 19:08:46.232 Esports Repository data are equal. No Changes
I 2019-05-22 19:08:46.240 RefreshRepositoryStatus
I 2019-05-22 19:08:46.701 Refresh 'CurseOfTheRoyalFortune' data. Updated.
I 2019-05-22 19:08:46.806 RefreshRepositoryStatus
I 2019-05-22 19:08:46.896 Refresh 'Esports' status. Updated 0 files
I 2019-05-22 19:08:46.896 RefreshAheadBehindInfo
I 2019-05-22 19:08:47.375 Refresh 'CurseOfTheRoyalFortune' status. Updated 12 files
I 2019-05-22 19:08:47.401 RefreshAheadBehindInfo
I 2019-05-22 19:08:50.209 RefreshRepositoryStatus
I 2019-05-22 19:08:50.408 Refresh 'CurseOfTheRoyalFortune' status. Updated 12 files
D 2019-05-22 19:08:55.142 Saving settings.
I 2019-05-22 19:08:55.142 RefreshRepositoryData
D 2019-05-22 19:08:55.142 Esports RefreshRepositoryDataGitCommand All
D 2019-05-22 19:08:55.449 Esports Repository data are equal. No Changes
I 2019-05-22 19:08:55.455 RefreshRepositoryStatus
I 2019-05-22 19:08:55.604 Refresh 'Esports' status. Updated 0 files
I 2019-05-22 19:08:55.604 RefreshAheadBehindInfo
I 2019-05-22 19:09:00.220 RefreshRepositoryData
D 2019-05-22 19:09:00.220 Esports RefreshRepositoryDataGitCommand -115
D 2019-05-22 19:09:00.302 Detected changed active branch
W 2019-05-22 19:09:00.354 Git request caused error 'log --branches --remotes --tags HEAD --max-count=25000 --date-order --pretty=format:%H
%T
%P
%an
%ae
%at
%s':
fatal: ambiguous argument 'HEAD': both revision and filename
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

I 2019-05-22 19:09:00.354 Refresh 'Esports' data. Updated.
I 2019-05-22 19:09:00.367 RefreshRepositoryStatus
I 2019-05-22 19:09:00.702 Refresh 'Esports' status. Updated 0 files
I 2019-05-22 19:09:00.707 RefreshAheadBehindInfo
I 2019-05-22 19:20:38.026 RefreshRepositoryData
D 2019-05-22 19:20:38.026 Esports RefreshRepositoryDataGitCommand All
D 2019-05-22 19:20:38.097 Saving settings.
D 2019-05-22 19:20:38.124 Saving settings.
D 2019-05-22 19:20:38.139 Saving settings.
I 2019-05-22 19:20:38.149 Stop ipc server Fork_2816_Pipe_AskPass```

Loading

@DanPristupov
Copy link
Contributor

@DanPristupov DanPristupov commented May 23, 2019

ambiguous argument 'HEAD': both revision and filename

It looks like you have a file HEAD in your repository which conflicts with the HEAD reference. Do you have such file?

I need to add -- as a suffix to the git request to fix this. Please wait for the next update or remove the file.

Loading

@DanPristupov DanPristupov added this to the 1.34 milestone Jun 6, 2019
@DanPristupov DanPristupov changed the title After cloning the repo there is no branch UI at all Fork doesn't show commits if repo contains file named HEAD Jun 6, 2019
@DanPristupov DanPristupov changed the title Fork doesn't show commits if repo contains file named HEAD Fork doesn't show commits if repo contains a file named HEAD Jun 6, 2019
@DanPristupov
Copy link
Contributor

@DanPristupov DanPristupov commented Jun 8, 2019

Fixed in 1.34

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants