restack optimization: git replay
- Ngôn ngữ chính
- Go
- Star
- 763
- Fork
- 72
- Merge trung bình
- 18 giờ 24 phút
- Pull request đã merge (30 ngày)
- 28
Mô tả
git replay is an experimental new command that can replay commits on a new base.
https://git-scm.com/docs/git-replay/2.44.0
For rebases that apply cleanly (no conflicts), if this command is available, it'll be faster to restack because the working tree will never be touched.
And if we can pre-determine that there will be conflicts, we can support an option to perform a restack only for branches that'll restack cleanly.
Hướng dẫn đóng góp
Hướng nghiên cứu
Look for the restack command implementation in the codebase, likely in a cmd/restack or similar directory. Understand how git-spice currently performs rebases. Research git replay's API and integration points. Determine how to detect clean rebases and conflicts. The change involves adding a new git replay backend and possibly a flag for clean-only restacks.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- git, go
- Lĩnh vực
- cli, developer-experience
- Loại issue
- Tính năng
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100