-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # readme.md
- Loading branch information
Showing
107 changed files
with
1,049 additions
and
597 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/// --------------------------------------------------------------------------------- | ||
/// | ||
/// Copyright (c) 2019 Sebastian Hönel [[email protected]] | ||
/// Copyright (c) 2020 Sebastian Hönel [[email protected]] | ||
/// | ||
/// https://github.com/MrShoenel/git-density | ||
/// | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/// --------------------------------------------------------------------------------- | ||
/// | ||
/// Copyright (c) 2019 Sebastian Hönel [[email protected]] | ||
/// Copyright (c) 2020 Sebastian Hönel [[email protected]] | ||
/// | ||
/// https://github.com/MrShoenel/git-density | ||
/// | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/// --------------------------------------------------------------------------------- | ||
/// | ||
/// Copyright (c) 2019 Sebastian Hönel [[email protected]] | ||
/// Copyright (c) 2020 Sebastian Hönel [[email protected]] | ||
/// | ||
/// https://github.com/MrShoenel/git-density | ||
/// | ||
|
@@ -232,7 +232,7 @@ public GitDensityAnalysisResult Analyze() | |
var dirOld = "old"; | ||
var dirNew = "new"; | ||
var repoEntity = this.Repository.AsEntity(this.GitCommitSpan); | ||
var developers = this.GitCommitSpan.FilteredCommits.GroupByDeveloperAsSignatures(repoEntity); | ||
var developers = this.GitCommitSpan.GroupByDeveloperAsSignatures(repoEntity); | ||
repoEntity.AddDevelopers(new HashSet<DeveloperEntity>(developers.Values)); | ||
var commits = this.GitCommitSpan.FilteredCommits.Select(commit => | ||
commit.AsEntity(repoEntity, developers[commit.Author])) | ||
|
@@ -308,6 +308,7 @@ public GitDensityAnalysisResult Analyze() | |
var patchNew = pair.Patch[change.Path]; | ||
var patchOld = pair.Patch[change.OldPath]; | ||
var treeChangeEntity = change.AsEntity(pairEntity); | ||
// As this is either a new (added) or old (deleted) file, there is only one Hunk. | ||
var hunk = Hunk.HunksForPatch(added ? patchNew : patchOld, | ||
oldDirectory, newDirectory).Single(); | ||
// We explicitly pass an empty enumerable for the clone-sets, as there possibly | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/// --------------------------------------------------------------------------------- | ||
/// | ||
/// Copyright (c) 2019 Sebastian Hönel [[email protected]] | ||
/// Copyright (c) 2020 Sebastian Hönel [[email protected]] | ||
/// | ||
/// https://github.com/MrShoenel/git-density | ||
/// | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/// --------------------------------------------------------------------------------- | ||
/// | ||
/// Copyright (c) 2019 Sebastian Hönel [[email protected]] | ||
/// Copyright (c) 2020 Sebastian Hönel [[email protected]] | ||
/// | ||
/// https://github.com/MrShoenel/git-density | ||
/// | ||
|
Oops, something went wrong.