![]() ![]() S Use revisions from instead of calling git-rev-list minimal Spend extra cycles to find better match e, -show-email Show author email instead of name (Default: off) s Suppress author name and timestamp (Default: off) c Use the same output mode as git-annotate (Default: off) line-porcelain Show porcelain format with per-line commit information p, -porcelain Show in a format designed for machine consumption n, -show-number Show original linenumber (Default: off) f, -show-name Show original filename (Default: auto) score-debug Show output score for blame entries root Do not treat root commits as boundaries (Default: off) b Show blank SHA-1 for boundary commits (Default: off) incremental Show blame entries as we find them, incrementally The result is shown below (the content is rather large as to try and not confuse git's algorithm, I apologize for that): $ git init In the third and last commit I copy a few lines from source to dest. In the following commit I do something irrelevant. I tried an example in which I create a non-empty file (named source) and an empty file (name dest) in the same commit. įirst of all, what does "other files in the commit that creates the file" mean?ĭoes it look for files that were modified in the same commit in which the file was added? Or does it look for all the files that are simply present in the tree of the commit in which the file was added? When this option is given three times, the command additionally looks for copies from other files in any commit. ![]() When this option is given twice, the command additionally looks for copies from other files in the commit that creates the file. This is useful when you reorganize your program and move code around across files. In addition to -M, detect lines moved or copied from other files that were modified in the same commit. In the git documentation of the blame command it says that (emphasis mine): ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |