google / google/git-appraise

Make the "git appraise show" command accept the same diff flags as the "git show" command.

Open
#43 0 comments 0 reactions 0 assignees View on GitHub
clean up
Dominant language
Go
Stars
5.3k
Forks
148
PR merge metrics
No merged PRs in 30d

Description

In particular, "git show" supports -p/-u/--patch flags for generating the diff (patch).

If we go with the -p/-u/--patch flag, then we should also add a -s/--no-patch and make the default configurable. I'd also want to keep the --diff option so as to not break any scripts that have been written against the tool.

Another thing to consider is whether or not diff should be promoted to its own subcommand (e.g. "git appraise diff"). If we do that, then we should try to make it as consistent as possible with "git diff".

This came from the suggestion @andreineculau made in #39

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.