Co-Author Detection & Git Metadata Integration

Open
#185 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
git, go

Research direction

Start by inspecting the existing CLI/TUI workflow and the internal/git and internal/ui areas mentioned in the issue. Clarify whether co-authors come from recent commits, git configuration, or explicit input, then define the selected behavior and add unit tests covering parsing and trailer formatting; done means the agreed workflow produces valid Co-authored-by trailers.

Written by the indexing model from the issue text.

Description

enhancement

Problem Statement

When collaborating on changes or working in paired programming environments, adding Co-authored-by commit message trailers manually can be tedious. Currently, git-commit-summary generates basic commit summaries without awareness of recent git authors, commit metadata, or paired collaborators.

Proposed Feature: Co-Author Detection & Git Metadata Integration

Automatically detect recent git authors or allow quick toggling/detection of co-authors to append standard Co-authored-by: Name <email> trailers to generated commit messages.


Detailed Outline Plan
  1. Git Author / Collaborator Inspection:

    • Query git log or git config (e.g. recent commit authors in the repo or configured user) to suggest or automatically identify potential co-authors.
    • Alternatively, support scanning git configuration (user.name, user.email) or local environment variables.
  2. TUI & Workflow Integration:

    • Add a quick action in the interactive TUI (e.g., a keybinding like C or a prompt option) to select or append Co-authored-by trailers.
    • Provide CLI flag support (e.g., --co-author "Name <email>" or --auto-co-authors) to automatically include co-authors from recent commits or configured lists.
  3. Testing & Validation:

    • Add unit tests in internal/git and internal/ui for parsing co-authors and formatting commit message trailers correctly.
Dominant language
Go
Stars
0
Forks
0
Avg merge
18h 49m
Merged PRs (30d)
13

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rm-hull/git-commit-summary

All issues in rm-hull/git-commit-summary

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.