Append random id to log files so they get ignored during git-diff #285
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
Today, when doing diff, we perform
git diffonbaseanddiff. These folders has.dasmas well as.logfiles. The.logfiles are comparable in size. For e.g., they are 520MB while.dasmfiles are 800MB. Once we dogit diff, we then filter the diffs that are coming out of.dasmfiles. Thus, we unnecessarily spend time diffing the.logfiles. In #284, I added a way to ignore files if they are not present in both the folders. With that, I propose to add a random ID to the log files so they automatically get ignored when doinggit diffand thus saving some time.