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
1
vote
1 answer

How to find out who delete a branch at git?

I work at the team which works with git repository. We have an origin and several local copies. Everybody interacts with origin by different means: from Unix, from Windows, Unix shell, Windows shell, NetBeans, PHPStorm. It happens that somebody…
Viacheslav Kondratiuk
  • 8,493
  • 9
  • 49
  • 81
1
vote
3 answers

sed: parse git --line-porcelain output

this is related to this question, but I think it warrants a separate question. git blame --line-porcelain's output is something like this 27ce485030bf872158ceb011e6bd775d2ead5eeb 9 36 1 author Joao Tavora author-time 1358179206 committer Joao…
joao
  • 3,517
  • 1
  • 31
  • 43
1
vote
1 answer

Git blame for all revesions of a file

I'm working with Git repository, and I need to get "blame" data for a file (ex. log-tree.c). So, I'm using the following command git --git-dir=/home/gh/git/.git --work-tree=/home/gh/git blame log-tree.c However, it just shows the data for the…
Ghadeer
  • 608
  • 2
  • 7
  • 21
1
vote
1 answer

Subversion - Commiting a Re-formatted File

I'll start off by saying that it's entirely possible that this isn't possible - if it's not, that's fine (well, it sucks, but I'll live). I know there are potentially some "well, how would that work anyway?" walls in doing what I want to do, but…
Joe
  • 15,669
  • 4
  • 48
  • 83
1
vote
1 answer

Tortoise SVN tracking changes with single login computer?

I have a development machine that we use to change file and we have SVN as our CM tool. We only have a single login to the computer itself. Is there a way to track the changes in the repository someway even if we have a single computer login? In…
dewalla
  • 1,317
  • 8
  • 18
  • 42
1
vote
1 answer

What is the equivalence of Git-blame in bazaar?

Is there an equivalence of git blame in bazaar? If so, what's the command for doing that? Thanks.
One Two Three
  • 22,327
  • 24
  • 73
  • 114
0
votes
2 answers

GIT Overwrite author of code lines (git blame)

I was trying to find the answer everywhere on the internet but was unsuccessful. My problem is that, for some reason, on a new laptop, I put 'email' instead of 'name' and 'password' instead of 'email'. And now, in history, everyone can see my email…
Ivan Re
  • 17
  • 4
0
votes
1 answer

In git merge/rebase how not to loose authors for git blame

Problem: all changes from tasks/pbi appear to belong to the PR owner, so git blame shows our release manager owns like 80% on the code. impossible to find who changed the code and why TL;DR: We have a master branch,from which a pbi(feature) branch…
Mickey Perlstein
  • 2,508
  • 2
  • 30
  • 37
0
votes
1 answer

How to delete GitHub blame history?

I'd like to delete the GitHub blame history that GitHub shows (tracking all changes made) I am aware of how to how to roll back changes, but I am not trying to roll back any changes I have made, I am simply trying to delete this history of the…
H. Khan
  • 111
  • 12
0
votes
0 answers

Can I show author and commit log in diff inside bitbucket?

Here is my context: I am working in a repository with two branches: master and develop. All the team makes local changes in their code and after finishing their task they merge their commits into the develop branch. After some time, a Pull Request…
Matheus Oliveira
  • 587
  • 3
  • 10
  • 33
0
votes
2 answers

Unconventional method of using Git

I am working on a specific use case of automating code mgmt using git. I am not certain if git has this feature built in, or there is a product out there that does this already. I appreciate if you could point me towards the right direction. The…
iprimo
  • 11
  • 3
0
votes
1 answer

Searching for a Blame

I'm trying to find some changes I made to some code within a project. This is a team project having multiple contributors. Is it possible to search for a particular blame within Xcode? It would be easier for me to search via blame than to remember…
Frederick C. Lee
  • 9,019
  • 17
  • 64
  • 105
0
votes
1 answer

How to run git diff with having revision info in the resulting output

I need to get git diff output which is expected to have revision info to each line i.e. $ git diff f08cbec42b80725e7840ae3d05f790f6fa9daa8e..cbe1c77ad85c58be93964bd8b8fb624f654b7670 diff --git a/.gitignore b/.gitignore index…
aalekseyev
  • 133
  • 1
  • 10
0
votes
1 answer

Being git blamed for code I only reviewed and merged

We are using git (in Bitbucket), and a colleague sent me a pull request, which I reviewed and merged. When I check blame after that, all the reviewed code is blamed on me, not the colleague that actually wrote it... Is there a way to blame the…
ntg
  • 12,950
  • 7
  • 74
  • 95
0
votes
1 answer

Where is line based SCM blame information stored?

I can see line based SCM blame information in UI, but where is it stored and how can I retrieve through web API? I am using Perforce plugin. The issue is that the Perforce plugin finds the blame information from history, and because of that if a…
Priyang
  • 376
  • 2
  • 7
1 2 3
8
9