Thread (59 messages) 59 messages, 9 authors, 2021-04-16

Re: [PATCH v2 5/5] maintenance: allow custom refspecs during prefetch

From: Derrick Stolee <hidden>
Date: 2021-04-06 19:45:37

On 4/6/2021 3:36 PM, Tom Saeger wrote:
Junio brought up the point about configs which 'fetch' have no dst
https://lore.kernel.org/git/c06a198a-2043-27a2-cab3-3471190754cc@gmail.com/ (local)
Thank you for reminding me about this. It was on the other thread,
and I forgot to go back to it as I was preparing this version.
    [remote "submaintainer1"]
        url = ... repository of submaintainer #1 ...
        fetch = master
        tagopt = --no-tags


This patch fixes segfault for config like above.
You might have ideas on a cleaner way to do this.
I did add `child_process_clear`.
I will also add a test to ensure this scenario does not regress.
-Stolee
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help