From: Harald Nordgren Date: Fri, 19 Dec 2025 14:50:37 GMT Subject: Re: [PATCH] diff: add --no-indicators option Message-ID: <20251219145037.17880-1-haraldnordgren@gmail.com> In-Reply-To: Hi Collin! The use case for me is when working on a feature and digging through my own commits to recover a code block that I previously threw away. Then I dont't want to do 'git restore -p' and go through all the changes in that file. I just want to quickly pick out the thing I need, that could be e.g. this snippet ``` top={ spcGoalMarkerPositionStaticProps.y - ARROW_SIZE / 2 + ARROW_OUTWARD_OFFSET * Math.sin(arrowAngleRadians) } left={ spcGoalMarkerPositionStaticProps.x - ARROW_SIZE / 2 + ARROW_OUTWARD_OFFSET * Math.cos(arrowAngleRadians) } ``` from the full diff below: ``` --- a/src/ui/components/SatietyIndicator.tsx +++ b/src/ui/components/SatietyIndicator.tsx const spcGoalCompletionOuterGAnimProps = useAnimatedProps(() => { return { - opacity: satietyGoalScore + opacity: shouldShowGoalMarker ? interpolate(spcGoalMarkerOpacitySV.value, [0, 1], [1, 0]) : 0, } @@ -364,7 +372,7 @@ export const SatietyIndicator: FC = ({ const centerAdjustment = -(CHECKMARK_SIZE * scale) / 2 - return satietyGoalScore + return shouldShowGoalMarker ? { transform: [ {scale: scale}, @@ -383,11 +391,19 @@ export const SatietyIndicator: FC = ({ {shouldShowReachHere && ( ``` I do this already, it just has the extra step of having to go through manually and remove +/- characters. Since already have the red and green colors to judge me, +/- doesn't help anything. I would also like to add this to 'git show' Harald