Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

"git stack list" shows all commit in the repo

Đang mở
#7 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
git, github, python
Lĩnh vực
cli, devtools

Hướng nghiên cứu

Reproduce the behavior from the issue by running git stack list on the described stacked branch, then trace the command's stack-boundary detection. Done means the list stops at the stack base rather than showing the repository's full history, and git stack pr --all does not include unrelated commits.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

First of all, much thanks for this tool! It warms my heart to see a free to use PR stacking tool out there.

I currently have this stack:

commit 78807ddaebc1134b9035dc30b2c171dedff23ff8 (HEAD -> ahmet/misc-refactoring-4)
...
    prev-branch: ahmet/misc-refactoring-3


commit 184725a1c420dbed31e73b15a7de77f9fc84aa43 (ahmet/misc-refactoring-3)
...
    prev-branch: ahmet/misc-refactoring-2


commit a2f6e3521695bd246aa5c83bf0c97d8cff333849 (ahmet/misc-refactoring-2)
...
    prev-branch: ahmet/misc-refactoring-1


commit b5c7be93b7b2f9ac149cae2cb60131e85d7f656c (origin/ahmet/misc-refactoring, ahmet/misc-refactoring-1, ahmet/misc-refactoring)

When I'm on branch ahmet/misc-refactoring-4 (tip) and run git stack list, I get the entire commit tree all the way down to the initial commit. It seems for whatever reason the tool is not detecting where the stacking begins.

$ git stack list
  * 78807dd 11 minutes (HEAD, ahmet/misc-refactoring-4) <commitmsg>
  * 184725a 39 minutes (ahmet/misc-refactoring-3) <commitmsg>
  * a2f6e35 49 minutes (ahmet/misc-refactoring-2) <commitmsg>
  * b5c7be9 69 minutes (ahmet/misc-refactoring-1) <commitmsg>
 /
* 12c1728 5 hours (tag: v0.0.566, master) <commitmsg>
* | * 1c6fb9e 10 hours (ahmet/anotherbranch) <commitmsg>
* |/

I'm very scared of running git stack pr --all because it might create hundreds of PRs. 😬

Any ideas what might be going on here?

Ngôn ngữ chính
Python
Star
17
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của stevearc/gitstack

Tất cả issue của stevearc/gitstack

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.