An open API service indexing awesome lists of open source software.

https://github.com/34seod/git-diff-lcs

Advanced git-diff(insertions, deletions, modifications)
https://github.com/34seod/git-diff-lcs

git-diff ruby

Last synced: 2 months ago
JSON representation

Advanced git-diff(insertions, deletions, modifications)

Awesome Lists containing this project

README

          

# GitDiffLCS

Generally, git diff --stat does not contain modifications, so we added it to display modifications using the LCS algorithm.

## Installation
```bash
$ gem install git_diff_lcs
```

## How to use

```bash
$ git_diff_lcs shortstat [GIT_REPOSITORY or WORKING_DIRECTORY] [SRC(branch or commit)] [DEST(branch or commit)]
$ git_diff_lcs shortstat https://github.com/btpink-seo/git-diff-lcs.git test/src test/dest
$ git_diff_lcs shortstat workspace/git-diff-lcs test/src test/dest
```

## Compare with "git diff --shortstat"

```bash
$ git diff --shortstat test/src test/dest
5 files changed, 15 insertions(+), 8 deletions(-)

$ git_diff_lcs shortstat https://github.com/btpink-seo/git-diff-lcs.git test/src test/dest
5 files changed, 13 insertions(+), 6 deletions(-), 2 modifications(!), total(21)
```