@Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.commit_compare);

        repository = getIntent().getParcelableExtra(EXTRA_REPOSITORY);

        ActionBar actionBar = getSupportActionBar();
        actionBar.setDisplayHomeAsUpEnabled(true);
        actionBar.setSubtitle(InfoUtils.createRepoId(repository));

        fragment = getSupportFragmentManager()
            .findFragmentById(R.id.list);
    }
Create intent for this activity

@param repository
@param base
@param head
@return intent
app/src/main/java/com/github/pockethub/android/ui/commit/CommitCompareViewActivity.java