Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: libgit2/git2go
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4b14d29
Choose a base ref
...
head repository: libgit2/git2go
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a53cd8b
Choose a head ref
  • 10 commits
  • 17 files changed
  • 11 contributors

Commits on Oct 16, 2021

  1. Declare forward-compatibility with libgit2 v1.3.0 #minor (#843)

    This commit marks this (Golang) version of git2go as being compatible
    with libgit2 v1.3.0.
    lhchavez authored Oct 16, 2021
    Configuration menu
    Copy the full SHA
    37d4d3d View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2021

  1. bugfix: HTTPS Clone fails with remote pointer not found using Go tran…

    …sport (#836) (#842) (#849)
    
    Fixes: #836
    
    Changes:
    
    * adding a weak bool param for Remote
    * create a new remote in the smartTransportCallback incase one is not found
    
    (cherry picked from commit 0e8009f)
    
    Co-authored-by: Yashodhan Ghadge <codexetreme@users.noreply.github.com>
    Co-authored-by: lhchavez <lhchavez@lhchavez.com>
    3 people authored Nov 9, 2021
    Configuration menu
    Copy the full SHA
    bacde67 View commit details
    Browse the repository at this point in the history
  2. Make ssh commands used in the git smart transport compatible with lib…

    …git2 (#852) (#856)
    
    * Fix ssh commands used in go SmartSubtransport
    
    Before the fix, the commands sent were of the form:
    
    ```
    git-upload-pack "/bar/test-reponame"
    ```
    
    This resulted in the git server returning error:
    `error parsing command: invalid git command`
    
    This change replaces the double quotes with single quotes:
    
    ```
    git-upload-pack '/bar/test-reponame'
    ```
    
    * Update ssh.go
    
    Co-authored-by: lhchavez <lhchavez@lhchavez.com>
    (cherry picked from commit 6cea7a7)
    
    Co-authored-by: Sunny <darkowlzz@protonmail.com>
    Co-authored-by: lhchavez <lhchavez@lhchavez.com>
    3 people authored Nov 9, 2021
    Configuration menu
    Copy the full SHA
    3033505 View commit details
    Browse the repository at this point in the history
  3. Fix replace statement example in README.md (#859) (#860)

    (cherry picked from commit 533c82f)
    
    Co-authored-by: Ignacio Taranto <ignacio_taranto@protonmail.com>
    lhchavez and itaranto authored Nov 9, 2021
    Configuration menu
    Copy the full SHA
    a6446ac View commit details
    Browse the repository at this point in the history
  4. Generate stringer files automatically (#841) (#865)

    Added `stringer` annotations to `git.go` for `ErrorClass` and
    `ErrorCode`. Added `generate` rule for `Makefile` to generate
    string representations for these types (first building cgo files
    in `_obj` dir to get C constants). Finally, updated `ci` actions
    workflow to check that generated files are up to date.
    
    Fixes: #543
    (cherry picked from commit 5e35338)
    
    Co-authored-by: Kirill <g4s8.public@gmail.com>
    lhchavez and g4s8 authored Nov 9, 2021
    Configuration menu
    Copy the full SHA
    a964575 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2022

  1. Add EnableFsyncGitDir to enable synchronized writes to the gitdir (#874

    …) (#877)
    
    This adds support for the GIT_OPT_ENABLE_FSYNC_GITDIR option in libgit2.
    
    Co-authored-by: James Fargher <jfargher@gitlab.com>
    (cherry picked from commit 1fcc9d8)
    
    Co-authored-by: James Fargher <proglottis@gmail.com>
    github-actions[bot] and proglottis authored Jan 18, 2022
    Configuration menu
    Copy the full SHA
    a3f32b9 View commit details
    Browse the repository at this point in the history
  2. Add ProxyOptions for push operations (#872) (#882)

    Analog to #623 but for push operations rather than fetch.
    
    (cherry picked from commit 5eca48c)
    
    Co-authored-by: Aurélien <6292584+au2001@users.noreply.github.com>
    github-actions[bot] and au2001 authored Jan 18, 2022
    Configuration menu
    Copy the full SHA
    9dfdab7 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2022

  1. readme: link to godoc for current main branch (#892)

    This is a release-specific change corresponding to #886
    dylrich authored Jan 23, 2022
    Configuration menu
    Copy the full SHA
    8230ed9 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2022

  1. rebase: Add wrapper for git_rebase_inmemory_index() (#900) (#904)

    * rebase: Fix missing initialization of the repo pointer
    
    While the `Rebase` structure has a pointer to the repository the rebase
    is creatde in, this pointer isn't ever initialized. Fix this.
    
    * rebase: Add wrapper for `git_rebase_inmemory_index()`
    
    Add a new wrapper for `git_rebase_inmemory_index()`, which can be used
    to retrieve the index for an in-memory rebase.
    
    Co-authored-by: Patrick Steinhardt <psteinhardt@gitlab.com>
    (cherry picked from commit e7d1b2b)
    
    Co-authored-by: Patrick Steinhardt <ps@pks.im>
    github-actions[bot] and pks-t authored Feb 25, 2022
    Configuration menu
    Copy the full SHA
    a7dc7d4 View commit details
    Browse the repository at this point in the history
  2. Add refspec bindings (#898) (#907)

    This add support for the parse, access, and transform functions for
    refspec objects.
    
    (cherry picked from commit eae0077)
    
    Co-authored-by: William Bain <bain.william.a@gmail.com>
    github-actions[bot] and wabain authored Feb 25, 2022
    Configuration menu
    Copy the full SHA
    a53cd8b View commit details
    Browse the repository at this point in the history
Loading