Thread (44 messages) 44 messages, 5 authors, 2025-07-17

Re: [PATCH 0/4] for-each-ref: introduce seeking functionality via '--skip-until'

From: Phillip Wood <hidden>
Date: 2025-07-02 14:14:10

Hi Karthik

On 01/07/2025 16:03, Karthik Nayak wrote:
This enables efficient pagination workflows like:
     git for-each-ref --count=100
     git for-each-ref --count=100 --skip-until=refs/heads/branch-100
     git for-each-ref --count=100 --skip-until=refs/heads/branch-200
Doesn't that require you to know the name of the ref after the last one 
returned by the previous batch? If the use case here is pagination then 
being able to provide a numeric offset might be a better fit. For example

	git for-each-ref --count=100 --start=200

would show refs 200 to 300

Thanks

Phillip
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help