This file is indexed.

/usr/bin/git-refactor 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
 7
 8
 9
10
11
#!/bin/sh

if test "$1" = "finish"; then
  test -z $2 && echo "refactor <name> required." 1>&2 && exit 1
  branch=refactor/$2
  git merge --no-ff $branch && git delete-branch $branch
else
  test -z $1 && echo "refactor <name> required." 1>&2 && exit 1
  branch=refactor/$1
  git checkout -b $branch &> /dev/null
fi