Thread (3 messages) 3 messages, 3 authors, 2019-11-26

Re: [PATCH v3 22/22] t7700: stop losing return codes of git commands

From: Eric Sunshine <hidden>
Date: 2019-11-26 00:58:47

On Mon, Nov 25, 2019 at 6:57 PM Denton Liu [off-list ref] wrote:
On Sat, Nov 23, 2019 at 10:49:44AM +0900, Junio C Hamano wrote:
quoted
Denton Liu [off-list ref] writes:
quoted
-   objsha1=$(git verify-pack -v pack-$packsha1.idx | head -n 1 |
-           sed -e "s/^\([0-9a-f]\{40\}\).*/\1/") &&
+   git verify-pack -v pack-$packsha1.idx >packlist &&
+   objsha1=$(head -n 1 packlist | sed -e "s/^\([0-9a-f]\{40\}\).*/\1/") &&
We probably should lose reference to SHA-1 and use $OID_REGEX; this
is obviously a #leftoverbits material that is outside the scope of
this series.
Since the theme of this series is test cleanup, I believe that it's
probably appropriate to roll these changes (and the ones below that I
omitted) into the current series. Since it isn't too much work, I'll
send them out in my next reroll.
It may not be too much work for you to keep adding more (unrelated)
changes to a series, but doing so increases the burden on reviewers
unnecessarily, especially for a long patch series such as this one.
Generally speaking, each iteration should help the series converge to
the point at which it can finally land (be merged to "next"). Thus,
ideally, each iteration should have fewer changes than the previous
one.

When you add entirely new changes which are not directly related to
the changes which begat the series, that iteration diverges (not
converges). It creates extra work for reviewers (who are trying to
help you land the series) and makes it less likely that people will
want to review each new iteration since a series which diverges with
each iteration makes the goal of landing the series a moving target
(thus, represents never-ending review work).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help