ayushthe1 commented on issue #23851: URL: https://github.com/apache/beam/issues/23851#issuecomment-1293219291
hey @damccorm i am running into some issues . I used `git diff-index HEAD` and saw it produces some output if there are any changes made in repo .It also don't produces any output if no changes are made or if the last commit was an empty commit. However on using the `--quiet` flag ,no output is produced in both cases . So how can i use this command with `--quiet` flag if no output is produced whether or not any changes are made in repo. My idea initially was to use some kind of `if-else` statement on condition if `git diff-index --quiet HEAD` produces any output or not and then putting the current `git add ,commit ,push` under it. -- 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]
