mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-05-07 04:10:01 -05:00
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hpodhaisky on GitHub (Oct 5, 2020).
Original GitHub issue: https://github.com/pd4d10/git-touch/issues/106
Dear @pd4d10, sorry, I don't know how to re-open issue (#103).
@pd4d10 commented on GitHub (Oct 6, 2020):
OK. I'll check it.
The '?' is becuase Gitea has no API to get these counts. It is too expensive to traverse all results and only for getting the length.
@pd4d10 commented on GitHub (Oct 6, 2020):
Oh, it seems the list API has a
x-total-countresponse header. Probably we could improve it by request only 1 result for getting the length.@pd4d10 commented on GitHub (Oct 6, 2020):
After some digging it seems the Gitea API has deprecated
x-pageandx-hasmore, replaced withx-total-count. But thex-total-countheader is still missing in some API, such as https://gitea.com/api/swagger#/user/userListStarred