This file is indexed.

/usr/bin/git-local-commits is in git-extras 1.9.1-2.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

1
2
3
4
5
6
#!/bin/sh

ref=$(git symbolic-ref HEAD)
branch=${ref#refs/heads/}

git log origin/${branch}..${branch} $*