Skip to content

Commit

Permalink
fix: re-enable --follow on ubuntu provider (anchore#40)
Browse files Browse the repository at this point in the history
re-enabling `--follow` for the ubuntu provider as it seems to be
required in order to get equivalent results to the legacy driver

Signed-off-by: Weston Steimel <[email protected]>
  • Loading branch information
westonsteimel authored Jan 11, 2023
1 parent ad3c9b8 commit 6b0822c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vunnel/providers/ubuntu/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class GitWrapper:
_reset_head_cmd_ = "git reset --hard origin/master"
_write_graph_ = "git commit-graph write --reachable --changed-paths"
_change_set_cmd_ = "git log --no-renames --no-merges --name-status --format=oneline {from_rev}..{to_rev}"
_rev_history_cmd_ = "git log --no-merges --name-status --format=oneline {from_rev} -- {file}"
_rev_history_cmd_ = "git log --no-merges --follow --name-status --format=oneline {from_rev} -- {file}"
_get_rev_content_cmd_ = "git show {sha}:{file}"
_head_rev_cmd_ = "git rev-parse HEAD"

Expand Down

0 comments on commit 6b0822c

Please sign in to comment.