Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
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.2
Choose a base ref
Loading
...
head repository: go-git/go-git
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.6.0
Choose a head ref
Loading
  • 6 commits
  • 11 files changed
  • 4 contributors

Commits on Jan 28, 2023

  1. git: worktree: check for empty parent dirs during Reset (Fixes #670) (#…

    …671)
    
    When we delete dir1/dir2/file1, we currently check if dir2 becomes
    empty with the deletion of file1, and if so, we delete dir2.  If
    dir1 becomes empty with the deletion of dir2, we don't notice that,
    and dir1 is left behind.
    
    This commit adds a loop to check each parent directory in the file
    path for emptiness, removing empty directories along the way until
    a non-empty directory is found (or an error occurs).
    mbohy authored Jan 28, 2023
    Configuration menu
    Copy the full SHA
    f848aaf View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2023

  1. ci: update go version

    mcuadros committed Feb 5, 2023
    Configuration menu
    Copy the full SHA
    7ab4957 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2023

  1. Remove need to build with CGO

    Follow-up from #618, at the time the Pure Go sha1cd implementation
    was not performant enough to be the default. This has now changed
    and the cgo and generic implementations yields similar results.
    
    Users are able to override the default implementation, however this
    seems to be a better default as it does not require the use of CGO
    during build time.
    
    Signed-off-by: Paulo Gomes <pjbgf@linux.com>
    pjbgf committed Feb 25, 2023
    Configuration menu
    Copy the full SHA
    bd33c95 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2023

  1. plumbing: support SSH/X509 signed tags

    This commit enables support for extracting the SSH and X509 signatures
    from (annotated) Git tags, as an initial step to support the
    verification of more signatures than just PGP in go-git.
    
    The ported logic from Git further ensures that we look for a signature
    at the tail of an annotation, instead of the first signature we find
    in the annotation, as this could theoretically result in a faulty
    signature getting detected if part of a an annotation itself (e.g.
    by being placed in the middle as part of an inherited message).
    
    For commits, no further change is required as the current extraction
    of any signature (format) from `gpgsig` in the commit header is
    sufficient for manual verification.
    
    In a future iteration, we could add `signature/ssh` and `signature/x509`
    packages to further enable people to deal with verifying other
    signatures than PGP. As well as adding additional methods to `Commit`
    and `Tag` to provide glue between the packages and the most prominent
    user-facing APIs.
    
    Signed-off-by: Hidde Beydals <hidde@hhh.computer>
    hiddeco committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    f1dc529 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2023

  1. Merge pull request #688 from pjbgf/bump-sha1cd

    Remove need to build with CGO
    mcuadros authored Feb 28, 2023
    Configuration menu
    Copy the full SHA
    2401659 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #690 from hiddeco/recognize-tag-signatures

    plumbing: support SSH/X509 signed tags
    mcuadros authored Feb 28, 2023
    Configuration menu
    Copy the full SHA
    b826c51 View commit details
    Browse the repository at this point in the history
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.