public inbox for goredo-devel@lists.stargrave.org
Atom feed
From: "Niklas Böhm" <mail@jnboehm•com>
To: goredo-devel@lists.cypherpunks.su
Subject: Re: Potentially unnecessary redoing of targets
Date: Tue, 13 Jan 2026 20:04:40 +0100	[thread overview]
Message-ID: <d4710067-5fd1-4559-93af-977bb851c00d@jnboehm.com> (raw)
In-Reply-To: <aWYBE0y0ckZ3n-qw@stargrave.org>

Hi again,


alright, I think I see the point now.  I agree that the behavior would 
definitely not seem intuitive and I suppose I am just not thinking of 
some corner cases where this could be very confusing.

My point is that `2.do` specifically did not change; hence the 
dependencies should stay the same, depending only on whether `1` changes 
or not.  If the hash stays the same, then there is no need to even start 
the execution of `2.do`.  In case the contents of `1` do change then all 
bets are off, so I agree that it does not make sense to change the 
behavior of redo.

Personally, I actually think that it would be nice to have 
`redo-ifchange 1; redo-ifchange 2` and only `redo-ifchange 2` work the 
same, although that would also lead to trouble when you rely on one of 
those to produce files that are not properly tracked by redo.

In any case, thanks for the discussion and explanations.


Cheers
Nik


      reply	other threads:[~2026-01-13 19:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-12  9:02 Potentially unnecessary redoing of targets Niklas Böhm
2026-01-12 12:53 ` spacefrogg
2026-01-12 15:12   ` Niklas Böhm
2026-01-12 16:26     ` spacefrogg
2026-01-13  8:23     ` Sergey Matveev
2026-01-13 19:04       ` Niklas Böhm [this message]