@Override
    public boolean onCreateOptionsMenu(Menu optionsMenu) {
        if (fragment != null) {
            fragment.onCreateOptionsMenu(optionsMenu, getMenuInflater());
        }

        return super.onCreateOptionsMenu(optionsMenu);
    }
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