Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Fetch: object not found #802

Closed
Closed
@jacksgt

Description

@jacksgt

Hi there,

I'm having an issue fetching updates from Github.

The repository was previously cloned like so:

	r, err := git.PlainClone(dir, false, &git.CloneOptions{
		URL:   url,
		Depth: 1,
	})

then, after modifications have been made to the remote repository, I want to fetch updates:

	err = r.Fetch(&git.FetchOptions{})

But this results in a object not found error (ErrObjNotFound).

git fetch (--all) works just fine.

Any suggestions how I can debug this issue?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions