use `craft.git` for git operation instead of relying on build-package
Metadata
Current evaluation
Closed without implementation. The craftgit migration was abandoned and tracked internally via Jira ticket CRAFT-3664, with no pull request or code changes submitted.
Suggested action: —
No scores available.
Issue body
### What needs to get done
use `craftgit`, where git client is run as a subprocess with the fallback to the `git` to ensure backward compatibility.
### Why it needs to get done
our snap package will bundle with `craftgit` which is git client packaged specifically for the craft libraries use.
we should use it in the places where we really on the system git and fallback to the git if it's not a snap or the binary is not available.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation. The craftgit migration was abandoned and tracked internally via Jira ticket CRAFT-3664, with no pull request or code changes submitted. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation or resolution. No pull requests or discussion were added. The request to use craftgit with a system git fallback remains unaddressed and appears abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation or linked pull request. The request appears abandoned or deferred pending further development. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without implementation. The request to switch to craftgit with a system git fallback was synced to internal tracking (CRAFT-3664) but received no code changes or resolution. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #919 Opt out of adding git as a build-package | craft-parts | open | Feature request to allow opting out of git as a build-package when craft.git binary is present. Depends on #900 (closed without implementation), but related PR #925 already merged craft.git preference. No maintainer activity in ~18 months, unlabelled. | |
| #385 Move Git abstraction outside of remotebuild | craft-application | closed | Closed and superseded by internal Jira ticket CRAFT-3123. No public implementation or merge details provided. The request to extract git handling into a separate module remains unaddressed. |