Skip to content

Git commands should not all be chomped by default #347

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dhollinger opened this issue Feb 9, 2018 · 4 comments · Fixed by #368
Closed

Git commands should not all be chomped by default #347

dhollinger opened this issue Feb 9, 2018 · 4 comments · Fixed by #368

Comments

@dhollinger
Copy link

Not all git subcommand output should be chomped by default.

For example, git show should never have its results chomped because when it does it does actually return different content AND a different MD5 Sum hash than what is actually stored in the git repository.

This is incredibly important for automation and config management systems that rely on the results of a git show to determine if file contents on disk have changed or not. Even though this is potentially an outlier use case, the fact remains that the content of a file pulled from a git commit should NEVER be munged, chomped, or modified in any other way that will return different content than what is actually stored in the git commit.

@dhollinger dhollinger changed the title Git commands show not all be chomped by default Git commands should not all be chomped by default Feb 9, 2018
@stale
Copy link

stale bot commented Apr 10, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Apr 10, 2018
@dhollinger
Copy link
Author

dhollinger commented Apr 15, 2018

@perlun or anyone else.

Are there any plans to address this issue?

Or is there any additional information you need from me?

@stale stale bot removed the wontfix label Apr 15, 2018
@perlun perlun added the pinned label Jun 1, 2018
@perlun
Copy link
Contributor

perlun commented Jun 1, 2018

@dhollinger I agree from reading the issue now - like you say, it should be addressed. If you don't mind, please submit a PR and I'll happily look at it.

@dhollinger
Copy link
Author

@perlun I'll take a look at it over the weekend and see what I can come up with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants