private formatCommits()

in src/github/junie/new-prompt-formatter.ts [166:173]


    private formatCommits(commits: GraphQLCommitNode[]): string {
        return commits.map(({commit}) => {
            const shortHash = commit.oid.substring(0, 7);
            const message = commit.messageHeadline || commit.message || 'No message';
            const date = commit.committedDate || '';
            return `[${date}] ${shortHash} - ${message}`;
        }).join('\n');
    }