upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/bin/ngit/sub_commands/checkout.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-02-18 12:38:37 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-02-18 13:10:24 +0000
commite6bb9effa194fe63b5e969c090dbe6e93f13d312 (patch)
treeb0d3e93b8d1113af81a8c835417a601e68ca28b6 /src/bin/ngit/sub_commands/checkout.rs
parenteb3860359cfc2f2bab95a546bd6003091584b918 (diff)
feat: support PR-format proposals in ngit apply
Instead of erroring when a proposal uses PR format (kind 1618/1619), ngit apply now fetches the tip commit from git servers, determines the base commit via the merge-base tag or by walking ahead of main, generates patch text for each commit using git2, and applies via git am. Also fixes a bug where clone-tag server hints were silently skipped in the fetch fallback, and refactors the git-am invocation into a shared helper to avoid duplication between the patch and PR code paths.
Diffstat (limited to 'src/bin/ngit/sub_commands/checkout.rs')
0 files changed, 0 insertions, 0 deletions