-
Notifications
You must be signed in to change notification settings - Fork 1
Comparing changes
Open a pull request
base repository: mingcheng/aigitcommit
base: main
head repository: mingcheng/aigitcommit
compare: chroe/prompt-optimize
- 13 commits
- 8 files changed
- 2 contributors
Commits on Jul 11, 2025
-
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>
Configuration menu - View commit details
-
Copy full SHA for 7007df9 - Browse repository at this point
Copy the full SHA 7007df9View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 8689940 - Browse repository at this point
Copy the full SHA 8689940View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for cd70fc4 - Browse repository at this point
Copy the full SHA cd70fc4View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 53ad9d9 - Browse repository at this point
Copy the full SHA 53ad9d9View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 4edef91 - Browse repository at this point
Copy the full SHA 4edef91View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for c97494b - Browse repository at this point
Copy the full SHA c97494bView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 33b1b84 - Browse repository at this point
Copy the full SHA 33b1b84View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 6484d81 - Browse repository at this point
Copy the full SHA 6484d81View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 4fe094c - Browse repository at this point
Copy the full SHA 4fe094cView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 41ccdb0 - Browse repository at this point
Copy the full SHA 41ccdb0View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 4de240a - Browse repository at this point
Copy the full SHA 4de240aView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 9ba9e4f - Browse repository at this point
Copy the full SHA 9ba9e4fView commit details
Commits on Jul 18, 2025
-
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>
Configuration menu - View commit details
-
Copy full SHA for 91a349a - Browse repository at this point
Copy the full SHA 91a349aView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...chroe/prompt-optimize