Migrate from blame to history scoped blame am: f3179e7578 am: 79e6a24f60 am: 3d542f409c

Original change: https://android-review.googlesource.com/c/platform/prebuilts/checkstyle/+/1359806

Change-Id: If8d106843342532a0d2323e27d72463832552bbe
diff --git a/gitlint/git.py b/gitlint/git.py
index 9d796f6..e55aa06 100644
--- a/gitlint/git.py
+++ b/gitlint/git.py
@@ -126,7 +126,7 @@
 
     # Split as bytes, as the output may have some non unicode characters.
     blame_lines = subprocess.check_output(
-        ['git', 'blame', commit, '--porcelain', '--', filename]).split(
+        ['git', 'blame', (commit + '^!'), '--porcelain', '--', filename]).split(
             os.linesep.encode('utf-8'))
     modified_line_numbers = utils.filter_lines(
         blame_lines,