Skip to content

Commit

Permalink
Dot not use --first-parent when getting file revisions
Browse files Browse the repository at this point in the history
  • Loading branch information
jairbubbles committed Dec 2, 2022
1 parent 022d888 commit ad3dbf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GitTimelapseView.Core/Models/FileHistory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ private IReadOnlyList<FileCommitId> GetFileCommitIDs(ILogger logger)
var filePath = FilePath;
do
{
var args = $"rev-list --first-parent HEAD -- \"{filePath}\"";
var args = $"rev-list HEAD -- \"{filePath}\"";
var result = GitHelpers.RunGitCommand(GitRootPath, args, logger).Split(new[] { '\n' }, StringSplitOptions.RemoveEmptyEntries).ToList();

if (result.Count == 0)
Expand Down

0 comments on commit ad3dbf5

Please sign in to comment.