Questions tagged [blame]

Blame is the annotation of source code showing who last edited each section or line.

Blame is the annotation of source code in a revision control system with metadata indicating the most recent commit that changed a particular section or line of code. The information typically includes a commit id, the identify of the user who made the change, and the timestamp of the change.

Commands for various revision control systems include:

  • RCS: (no such command is available)
  • CVS: cvs annotate
  • Subversion: svn blame (aliases are svn praise, svn annotate, svn ann)
  • Git: git blame (git annotate is similar but uses a slightly different output format)
  • Mercurial: hg blame (alias hg annotate)
125 questions
0
votes
1 answer

Git: Get username vs number of lines for a particular file type in HEAD

I wanted to measure the number of lines of code for each developer in the tip of develop branch at this point of time for python files. How can I make that happen? More like this: Initialise a counter for each developer to 0. For each python file in…
Ranjith Ramachandra
  • 10,399
  • 14
  • 59
  • 96
0
votes
1 answer

git: how to resolve merge conflicts without taking over 'blame'

For my github archive I received a pull request, which I wanted to test first before merging, and therefore used the commandline commands recommended by github (contrib1 represent the user name of the contributor, patch1 the name of the pull…
F Tilmann
  • 103
  • 2
0
votes
1 answer

Can TortoiseSVN be configured to search all revisions automatically when performing an svn blame?

...and yes, I know this can take several minutes. Seriously! I just want to right-click a file, select SVN blame and have TortoiseSVN do its thing. I don't want to have to manually click OK every time because I never change anything in this…
JackAce
  • 1,407
  • 15
  • 32
0
votes
1 answer

Git: identify lines moved from another file

I have a commit, which cuts chunks out of a couple of files and puts them into a couple of new files, without changing or adding lines, in a single commit. The absence of changes or additions was verified manually with vimdiff. Is it possible to use…
spbnick
  • 5,025
  • 1
  • 17
  • 22
-1
votes
1 answer

How to see deleted changes between commits

I am using a repository for a tex files. By using wrong software I have now inconsistent files. My question is how to see deleted changes between commits. I have narrowed the problem down to about 30 commits in 3 branches. Between those I would like…
Zigulik
  • 98
  • 4
1 2 3
8
9