Skip to content

package:git v2.4.0

Choose a tag to compare

@kevmoo kevmoo released this 03 Nov 20:29
a52fa9f
  • Added WorktreeEntry and GitDir.worktrees() to list active worktrees.
  • Added BranchTracking and GitDir.branchTracking() to list tracking
    branches.
  • Added GitDir.isSecondaryWorktree() and GitDir.removeWorktree().
  • Added GitDir.commitsAheadBehind(), GitDir.upstreamBranch(), and
    GitDir.remoteDefaultBranch().
  • Added GitDir.isAncestor(), GitDir.fetch(), and GitDir.deleteBranch().
  • Added allowBare flag to GitDir.fromExisting().
  • Added includeUntracked option to GitDir.isWorkingTreeClean().
  • runGit now sets runInShell: Platform.isWindows (avoiding /bin/sh -c
    overhead on Linux and macOS) and GIT_TERMINAL_PROMPT=0.
  • GitDir.fromExisting now returns a consistently canonicalized path across
    symlinks and allowSubdirectory: true.
  • Commit.parse, Commit.parseRawRevList, and TreeEntry.fromLsTree now
    consistently throw FormatException on malformed input.
  • Require Dart 3.12