Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mingcheng/aigitcommit
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: mingcheng/aigitcommit
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: chroe/prompt-optimize
Choose a head ref
  • 13 commits
  • 8 files changed
  • 2 contributors

Commits on Jul 11, 2025

  1. feat: implement signoff feature for commit messages ✍️

    - Add signoff option to CLI arguments in `cli.rs`
    - Implement author name and email retrieval in `git.rs`
    - Append signoff to commit message in `main.rs` if enabled
    - Add tests for author name and email functions in `git.rs`
    
    Signed-off-by: mingcheng <mingcheng@apache.org>
    mingcheng committed Jul 11, 2025
    Configuration menu
    Copy the full SHA
    7007df9 View commit details
    Browse the repository at this point in the history
  2. feat: add auto signoff detection from environment variable ✍️

    - Implement detection of GIT_AUTO_SIGNOFF environment variable
    - Enable signoff if environment variable is set to true or 1
    - Update logic to combine CLI signoff option with environment variable check
    
    Signed-off-by: mingcheng <mingcheng@apache.org>
    mingcheng committed Jul 11, 2025
    Configuration menu
    Copy the full SHA
    8689940 View commit details
    Browse the repository at this point in the history
  3. docs: update README with new environment variable for signoff 📚

    - Add `AIGITCOMMIT_SIGNOFF` environment variable to README
    - Mention auto sign-off feature when variable is set to true
    
    Signed-off-by: mingcheng <mingcheng@apache.org>
    mingcheng committed Jul 11, 2025
    Configuration menu
    Copy the full SHA
    cd70fc4 View commit details
    Browse the repository at this point in the history
  4. style: update log message formatting in git and openai modules 🖌️ (#13)

    - Replace static string formatting with variable interpolation in log messages
    - Apply consistent formatting for trace logs across `git.rs` and `openai.rs`
    
    Signed-off-by: mingcheng <mingcheng@apache.org>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    mingcheng and dependabot[bot] committed Jul 11, 2025
    Configuration menu
    Copy the full SHA
    53ad9d9 View commit details
    Browse the repository at this point in the history
  5. docs: correct environment variable name in README 📚

    - Update `AIGITCOMMIT_SIGNOFF` to `GIT_AUTO_SIGNOFF` in README for consistency
    - Reflect the correct variable used in the code for auto signoff feature
    
    Signed-off-by: mingcheng <mingcheng@apache.org>
    mingcheng committed Jul 11, 2025
    Configuration menu
    Copy the full SHA
    4edef91 View commit details
    Browse the repository at this point in the history
  6. style: update log message formatting in git and openai modules 🖌️ (#13)

    - Replace static string formatting with variable interpolation in log messages
    - Apply consistent formatting for trace logs across `git.rs` and `openai.rs`
    
    Signed-off-by: mingcheng <mingcheng@apache.org>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    mingcheng and dependabot[bot] committed Jul 11, 2025
    Configuration menu
    Copy the full SHA
    c97494b View commit details
    Browse the repository at this point in the history
  7. docs: correct environment variable name in README 📚

    - Update `AIGITCOMMIT_SIGNOFF` to `GIT_AUTO_SIGNOFF` in README for consistency
    - Reflect the correct variable used in the code for auto signoff feature
    
    Signed-off-by: mingcheng <mingcheng@apache.org>
    mingcheng committed Jul 11, 2025
    Configuration menu
    Copy the full SHA
    33b1b84 View commit details
    Browse the repository at this point in the history
  8. docs: update file modification timestamps 📅

    - Adjust last modified timestamps in `main.rs` and `openai.rs` for accuracy
    - Resolve merge conflict timestamp in `main.rs` to reflect latest update
    
    Signed-off-by: mingcheng <mingcheng@apache.org>
    mingcheng committed Jul 11, 2025
    Configuration menu
    Copy the full SHA
    6484d81 View commit details
    Browse the repository at this point in the history
  9. feat: update version to 1.3.3 and add grok keyword 🚀

    - Bump version from 1.3.2 to 1.3.3 in Cargo.toml
    - Add "grok" to keywords list in package metadata
    mingcheng committed Jul 11, 2025
    Configuration menu
    Copy the full SHA
    4fe094c View commit details
    Browse the repository at this point in the history
  10. feat: add CLI check for OpenAI API and model availability 🔍

    - Introduce --check flag in CLI to verify API key and model
    - Implement check_model function to list and validate available models
    - Integrate check logic in main.rs with error handling
    - Comment out unused dependencies in Cargo.toml
    - Update package categories in Cargo.toml
    mingcheng committed Jul 11, 2025
    Configuration menu
    Copy the full SHA
    41ccdb0 View commit details
    Browse the repository at this point in the history
  11. refactor: simplify string formatting in model validation 🛠️

    - Update error message formatting in main.rs to use direct variable interpolation
    - Simplify debug and error messages in openai.rs with consistent string formatting
    - Remove redundant string concatenation for cleaner code readability
    
    Signed-off-by: mingcheng <mingcheng@apache.org>
    mingcheng committed Jul 11, 2025
    Configuration menu
    Copy the full SHA
    4de240a View commit details
    Browse the repository at this point in the history
  12. feat: implement signoff feature for git commits ✍️

    - Add support for signed-off-by line in commit messages with configurable option
    - Refactor commit function to accept signoff parameter in git.rs
    - Retrieve author name and email from repository config for signoff
    - Remove redundant signoff logic from main.rs and centralize in git.rs
    - Update commit call in main.rs to pass signoff requirement
    
    Signed-off-by: mingcheng <mingcheng@apache.org>
    mingcheng committed Jul 11, 2025
    Configuration menu
    Copy the full SHA
    9ba9e4f View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2025

  1. feat: update system template with new requirements ✏️

    - Add instructions for generating git commit messages
    - Include details on diff-based message creation
    - Remove signed-off-by message from commit instructions
    - Update examples to reflect recent commit styles
    
    Signed-off-by: mingcheng <mingcheng@apache.org>
    mingcheng committed Jul 18, 2025
    Configuration menu
    Copy the full SHA
    91a349a View commit details
    Browse the repository at this point in the history
Loading