go-git icon indicating copy to clipboard operation
go-git copied to clipboard

Project has been moved to: https://github.com/go-git/go-git

Results 101 go-git issues
Sort by recently updated
recently updated
newest added

The existing code does not handle the case where a ref delta refers to another deltified object. Once the "parent" was undeltified, not attempt was made to resolve references to...

I'm doing something super straightforward: ```go _, err := git.PlainClone(destinationPath, false, &git.CloneOptions{ URL: "https://github.com/kubernetes-sigs/krew-index.git", }) return err ``` This returns error `remote repository is empty`. I tried `os.MkdirAll(destinationPath, 0755)` ahead...

I have a tree with a large number of untracked files, and calling Status() is slow. When I profile it, it seems to be hashing all of the untracked files,...

performance

Loads the config the same way git does, System, then Global, then Local so overrides are maintained properly. Closes #760

Right now, non fast-forward errors during remote pushes create a new error which includes the git reference :https://github.com/src-d/go-git/blob/d6c4b113c17a011530e93f179b7ac27eb3f17b9b/remote.go#L793 `worktree.go` has a dedicated `ErrNonFastForwardUpdate` error which should be used instead. The...

I use some way to check every tag which is contain specific commit.But the result not the same with "git tag -contain SHA". Can go-git do this?

The last commit to this project was 1 November 2019. Is this project still under active development?

`Worktree.Add(file)` [calls `Status()`](https://github.com/src-d/go-git/blob/bf0d56e7f2ce9b6538fb8a75fbdc2bcea1bc2995/worktree_status.go#L268), which goes over the entire worktree. In addition, `Add()` takes a [single file](https://github.com/src-d/go-git/issues/1256). So adding multiple files in a large repo therefore becomes an O(N2) operation (excruciatingly...