mumrah commented on PR #17204:
URL: https://github.com/apache/kafka/pull/17204#issuecomment-2377207907

   > Maybe, we keep it more agnostic and print a message guiding the user to 
fetch. WDYT?
   
   Good point on different remote names. Let's still attempt to update the ref 
in this script. If it can't be done, print a warning and recommend to the user 
to update their remote.
   
   ```
   > git update-cache
   Cannot update 'trunk-cached' because SHA 
264131cdaaef3f4696942f26534b3f61f3a2a162 does not exist locally. Please update 
your remote and try again.
   > echo $? 
   1
   > git fetch origin-or-whatever
   > git update-cache
   Local branch 'trunk-cached' updated to 
264131cdaaef3f4696942f26534b3f61f3a2a162
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to