-
Notifications
You must be signed in to change notification settings - Fork 818
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededno-autocloseIssues/PRs to be ignored by stale botIssues/PRs to be ignored by stale bot
Description
Somehow this project has fetch
and pull
, but missing merge
?
FWIW, pull
is a fetch
immediately followed by merge
, so how was the pull
implemented in the first place?
For my case:
I am running in-memory bare repo clone. Periodically I need to fetch updates for it and check the state of the file in repository. On bare repo this should be:
git fetch origin master
git merge origin/master master
head -> tree -> file object -> check contents
However in the absence of merge functionality I have to:
- Fetch
.Reference("refs/remotes/origin/HEAD")
instead of just.Head()
- then lookup the file
ckreiling, unthar, lsoica and kimdre
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededno-autocloseIssues/PRs to be ignored by stale botIssues/PRs to be ignored by stale bot