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: go-git/go-git
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.5.0
Choose a base ref
...
head repository: go-git/go-git
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.5.1
Choose a head ref
  • 8 commits
  • 8 files changed
  • 3 contributors

Commits on Dec 2, 2022

  1. build: Add CI check for CGO_ENABLED=0

    Some applications that depend on go-git may not need
    to build using CGO. The new test ensures no new
    regressions going forwards.
    
    Signed-off-by: Paulo Gomes <pjbgf@linux.com>
    pjbgf committed Dec 2, 2022
    Configuration menu
    Copy the full SHA
    a0b612a View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2022

  1. build: Bump github.com/pjbgf/sha1cd to v0.2.3

    Fixes regression in which applications that depend on
    go-git could no longer build with CGO_ENABLED=0
    or when vendoring dependencies.
    
    Signed-off-by: Paulo Gomes <pjbgf@linux.com>
    pjbgf committed Dec 3, 2022
    Configuration menu
    Copy the full SHA
    223e732 View commit details
    Browse the repository at this point in the history
  2. Return error instead of creating empty commits

    BuildTree now returns an ErrEmptyCommit error, when there are no
    changes to be committed. This can be opted-out via
    CommitOptions.AllowEmptyCommits.
    
    This is a breaking change which enables applications to detect when
    empty commits are to be created.
    
    Some instances in which this can occur is when the fs (e.g. `billy/osfs`)
    make changes to the underlying files, causing a conflict between what
    the previous Git worktree state was, and the current state. Changes to
    the fs implementations are orthogonal to this, and will be dealt with
    separately.
    
    The new behaviour aligns with the Git CLI, in which empty commits
    returns the error message: 'nothing to commit, working tree clean'.
    
    Signed-off-by: Paulo Gomes <pjbgf@linux.com>
    pjbgf committed Dec 3, 2022
    Configuration menu
    Copy the full SHA
    a513415 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2022

  1. Configuration menu
    Copy the full SHA
    08db65f View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2022

  1. Merge pull request #623 from pjbgf/empty-commit

    Return error instead of creating empty commits
    mcuadros authored Dec 11, 2022
    Configuration menu
    Copy the full SHA
    c7050e7 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #625 from pjbgf/bump-sha1cd-nocgo

    Fix error when building with `CGO_ENABLED=0`
    mcuadros authored Dec 11, 2022
    Configuration menu
    Copy the full SHA
    f62ac39 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #617 from doxsch/616-update-ssh-agent-to-master

    plumbing: transport/ssh: fix panic on Windows 10 with paegent as ssh-agent
    mcuadros authored Dec 11, 2022
    Configuration menu
    Copy the full SHA
    e43edee View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    736622f View commit details
    Browse the repository at this point in the history
Loading