Skip to main content
1 vote
0 answers
57 views

I'm writing a patch for my code which mainly replaces contents within lines. I want the git diff --stat (and later git log --stat) to show me the numbers of characters, rather than lines, added or ...
einpoklum's user avatar
  • 137k
6 votes
0 answers
1k views

i want git status to also list number of lines changed, like those + and - on git pull: example) ❯ LANG=c git status On branch develop Your branch is up to date with 'upstream/develop'. Changes not ...
scarf's user avatar
  • 340
1 vote
1 answer
378 views

I'm doing a diffstat on my merge to see how many inserts, deletes and modifications I made like so: git show 526162eed6 --first-parent --unified=0 | diffstat -m This lists all the files and gives a ...
PhD's user avatar
  • 11.4k
2 votes
1 answer
3k views

If I do git log <commit-id> --stat or git diff with --stat, I get something like: myproj/src/__main__.py | 1 + myproj/{ => src}/utils.py ...
Flux's user avatar
  • 11.1k
1 vote
1 answer
129 views

If I do: git diff --stat master I will have something like: .gitignore | 11 +- BUGS | 1 + Makefile ...
1737973's user avatar
  • 158
2 votes
1 answer
369 views

If I do: $ git checkout some_branch [...] $ git diff another_branch It'll show a large diff between the branches. Now there's a simplified, smaller1 diff shown after applying a commit, or merge, I ...
1737973's user avatar
  • 158
1 vote
1 answer
871 views

I have directory structure as below in svn Dir1/file1 /file2 /file3 Dir2/file1 /file2 I have deleted the directory Dir1 and committed the changes to svn using svn rm Dir1 and svn ci -m"...
Dinesh Reddy's user avatar
2 votes
2 answers
2k views

when use diffStat or git diff to analyze the code,it often shows the result below, 71 files changed, 10938 insertions(+), 947 deletions(-), 3103 modifications(!), 3027 unchanged lines(=) but I do ...
HaiBin's user avatar
  • 43
1 vote
1 answer
153 views

What I want: A command that prints number of added (+) and removed (-) from change log, where the added portion(+) written in green and deleted portion (-) written in red. What I have currently: hg ...
hello_harry's user avatar
  • 1,305
1 vote
1 answer
183 views

I want changes_summary to always be in format <x> files changed, <y> insertion(+), <z> deletions(-) where <x> <y> and <z> are some numbers, but diffstat misses ...
rodee's user avatar
  • 3,321
1 vote
2 answers
394 views

diff -ur dir1 dir2 | diffstat this is similar to git diff --stat, but diffstat is ignoring "Only in dir1" and "Only in dir2" files, whereas git diff adds it to deletion and insertion counts ...
rodee's user avatar
  • 3,321
1 vote
0 answers
3k views

I want to generate a LOC(Lines of code) metric for my svn repo given a date range: Date: July 2012 Lines Added: 38,719 Lines Modified: 22391 Lines Deleted: 9512 Total: 70621 I ...
user1146952's user avatar
1 vote
1 answer
2k views

While in a git repository, I can do : git log --oneline --stat and I'll have a nice output looking like: ca0ab77 commit message a/file/changed | 19 ------------------- 1 file changed, 19 deletions(-)...
Mathieu Nls's user avatar
  • 2,365
10 votes
2 answers
1k views

Is there a way to see what commits have been pulled in from the remote repository after you do a git pull --rebase? In other words: git pull will show a summary of changed files at the end (like git ...
Q-BiC's user avatar
  • 153
1 vote
2 answers
616 views

I am wondering why git log only shows lines added/deleted, but no modified lines. For example,I type git log commit1..commit2 --stat the result is commit 5b5h5......... Author: cc <[email protected]&...
Venus's user avatar
  • 1,352

15 30 50 per page