blame Questions
0
When I run the following sample code:
public static void main(String[] args) throws IOException, GitAPIException {
Git git = new Git(new FileRepository(PATH_TO_REPO);
BlameCommand blameCommand =...
1
cloc enables one to count the number of lines of code stored in a directory per language per type (blank, comment, or code).
git blame enables one to see which part of a file belong to whom.
I'm ...
2
Solved
A GIT merge introduces a new commit. This causes problems with "git blame": the merged lines appear to be committed by the developer that did the merge.
I can understand this being the case for co...
0
First off I'll just start with a very similar problem, and flag this as not a duplicate:
Git commit that doesn't override original authors in git blame
It's incredibly similar to what I'd lik...
6
Solved
I'm having trouble figuring out how to use git blame for getting the set of commits that ever touched a given range of lines. There are similar questions like this one but the accepted answer doesn...
3
Solved
I'm digging through Google's results for free (open source) Java diff libaries, and there seem quite a bunch of those (some of them even working with generic Objects and not only with Strings).
Be...
6
Solved
I have a bit of code that I would like to see revision history for. In the example file, line 300 contains something "interesting". How can I use svn to see when that line has been changed and revi...
3
When merging files it will be helpful (as for me) to show an author of each line. Is there any diff or merge tool supporting that?
Preponderate asked 14/2, 2013 at 20:37
4
Solved
When I run git blame on a file (using msysgit) I always get the following sort of printout:
00000000 (Not Committed Yet 2011-01-09 11:21:30 +0200 1) package co
00000000 (Not Committed Yet 2011-01-...
Vagarious asked 9/1, 2011 at 9:26
1
Solved
How can I use a fake email address with Github?
Following Github's since-changed instructions, I had a fake email like [email protected] configured with git (git config --global user.email "[...
2
Solved
I have a versioned .cpp file and I want to see who wrote a certain line of code so I used the Tortoise SVN blame option. But when it open the file, this what it displayed:
Has anyone ever encoun...
Hartmann asked 13/8, 2013 at 10:40
2
Solved
Using
git blame file
will show all info about each line, for example who add this line in which commit, and when, but as far as I know, Git will add a completely new object every time you change...
Bloodhound asked 12/7, 2013 at 5:9
0
I am using Mercurial, but I imagine that any merge tool that is aware of the version control system below it could do several things that a merge tool which is not aware of the version control syst...
Judie asked 24/5, 2013 at 13:34
3
I have a file in a Git project that had a specific value changed at some point by someone; I don't know who or when. I want to find when the change was made, but I'm not sure how I can track that i...
3
I'm working on a new weave-based data structure for storing version control history. This will undoubtedly cause some religious wars about whether it's The Right Way Of Doing Things when it comes o...
Epsomite asked 29/12, 2012 at 0:21
1
Solved
Partial output from git blame <file>:
...
d6182477 (<author> 2012-06-22 09:44:02 -0400 239) ...
d6182477 (<author> 2012-06-22 09:44:02 -0400 240) ...
25f98f3f (<author>...
1
Solved
using Eclipse Indigo Service Release 2, with EGit plugin and JDK 1.7. I've seen that it should support blame annotations, but I can't get it to show like I see here on Eclipse Wiki.
Here's how it ...
1
Solved
At one point my git repository had its paths reorganized.
I often want to do a blame on a file at a revision before the move.
What's the git blame incantation to blame a file that doesn't exist i...
3
Solved
I have a project which sources are controlled with help of git.
Right now I want to find out when my teammate made last edits in a specific file. I want to find out SHA1 of commit or to see his ed...
Poulter asked 5/8, 2011 at 12:36
4
Solved
I'd like to use Eclipse's formatter to fix some poorly styled code, but there's a huge downside to killing all the metadata in the repository about who is responsible for what. Any thoughts on ways...
Modal asked 27/3, 2009 at 4:30
6
Solved
In my team, some we help each other with the merges.
I.e. my code is merged back to trunk by someone else.
It seems like the author info not is fully preserved during a merge. When I do annotate (b...
1
Solved
Actually am try to get a report on merge conflicts. I used 'git blame' to see who has changed what line, but i couldn't find the branch and repository name information.
Is there a way to find the ...
Bilk asked 17/5, 2010 at 5:31
5
Solved
Let's say I have a file A.cpp, and I notice an error on line 15 of the file. Let's say the error is a "const" on a function that returns a pointer to a member variable, meaning using const on the f...
Jones asked 7/12, 2009 at 22:35
© 2022 - 2024 — McMap. All rights reserved.