git export: report states, not changes e8b4e156f2fa
- Author
- Andy McCall @andymccall <[email protected]>
- When
- · 2026-09-26 20:31 UTC
- Signature
- ✔ signed by Andy McCall
- Hash
e8b4e156f2fa4969ecc274eed40e62b005d7eed3194005df655f289df192e4cf- Depends on
- 79ab8528ff62 fce44ae9ad29
- Depended on by
- 94084087a876
- In bookmarks
- agents-in-readme bare-hashes carried-not-removed carry-identical doctor-trust identical-sides keyless-tags main merge-remote-bookmark only-help-103 paths-for-resolutions-and-amend push-notes show-stat subrepo-pin-state switch-says
- In tags
- v0.1.0 v0.10.0 v0.11.0 v0.2.0 v0.3.0 v0.3.1 v0.4.0 v0.4.1 v0.4.2 v0.4.3 v0.4.4 v0.4.5 v0.4.6 v0.5.0 v0.5.1 v0.6.0 v0.7.0 v0.8.0 v0.9.0
- Edits
- 2 atoms, 0 tree operations, 1 file
Browse the tree at this change
modified src/cli/sync.rs +2 −3
| … | 121 unchanged lines |
||
| 122 | 122 | let repo = open()?; |
|
| 123 | 123 | let r = repo.git_export(git_dir)?; |
|
| 124 | 124 | println!( |
|
| 125 | - | "Exported {} to {} (branch {}: {}{}); {} already exported.", |
|
| 126 | - | plural(r.exported, "change"), |
|
| 125 | + | "Exported {} to {} as branch {} (currently {}); {} already exported.", |
|
| 126 | + | plural(r.exported, "new state"), |
|
| 127 | 127 | git_dir.display(), |
|
| 128 | 128 | r.branch, |
|
| 129 | 129 | plural(r.heads, "head"), |
|
| 130 | - | if r.heads > 1 { ", joined by a synthetic merge commit" } else { "" }, |
|
| 131 | 130 | r.skipped |
|
| 132 | 131 | ); |
|
| 133 | 132 | Ok(0) |
|
| … | 1 unchanged lines |