only examine staged changes (convinced by @jedhunsaker)