Skip to content

Tags: litaohe/SwiftGitX

Tags

0.4.1

Toggle 0.4.1's commit message
Add merge, index batch operations, conflict handling, and remote URL …

…update APIs

- Add Repository.merge(branch:message:) with full merge flow (analysis, fast-forward, normal merge)
- Add MergeResult enum and ConflictEntry model for programmatic conflict resolution
- Add Repository.addAll() (git add -A) and updateAll() (git add -u) for batch staging
- Add conflict detection/iteration/removal APIs (hasConflicts, conflicts, removeConflict)
- Make index remove operations public (previously internal)
- Add RemoteCollection.setURL(named:to:) for updating remote URLs
- Add Repository.cleanupState() for post-merge state cleanup

Made-with: Cursor

0.4.0

Toggle 0.4.0's commit message
Refactor initialization in SwiftGitXTest and SignatureRawTests to rem…

…ove async requirement to fix github action

0.3.0

Toggle 0.3.0's commit message
Auto-create push refspecs and validate remote

Add createsRefspec parameter (default true). Ensure current branch and
remote are resolved, check for an existing push refspec and either add
one or error depending on createsRefspec. Introduce hasPushRefspec and
addPushRefspec helpers and use configured refspecs for git_remote_push.

0.2.0

Toggle 0.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request ibrahimcetin#5 from ibrahimcetin/lazy-tree

Implement lazy loading for Commit.tree property

0.1.10

Toggle 0.1.10's commit message
Format all codebase with swift-format

0.1.9

Toggle 0.1.9's commit message
Update libgit2 version to 1.9.1

0.1.8

Toggle 0.1.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request ibrahimcetin#2 from TimArt/main

Fix Swift Package Build

0.1.7

Toggle 0.1.7's commit message
Add Foundation import to fix Xcode 16 errors

0.1.6

Toggle 0.1.6's commit message
Conform Repository to Codable, Equatable and Hashable

0.1.5

Toggle 0.1.5's commit message
Fix branch collection memory leak