Issue Type
Git Command Affected
Environment
- OS: [e.g., macOS, Linux, Windows]
- Java Version: [e.g., OpenJDK 11, Oracle JDK 17]
- Maven Version: [e.g., 3.8.1]
- IDE/Editor: [e.g., VS Code, IntelliJ IDEA]
- CodeCrafters Stage: [e.g., Stage 1, Stage 5, etc.]
Command/Steps to Reproduce
# Compilation commands
javac -d out src/main/java/Main.java
# Execution command that fails
java -cp out src/Main/java/Main.java [command] [args]
# Or using the shell script
./your_program.sh [command] [args]
Expected Behavior
Actual Behavior
Error Output
Paste error messages/output here
Test Repository State
Repository structure (if relevant):
.git/
├── objects/
├── refs/
└── ...
Git Object Details
- Object Hash: [e.g., abc123...]
- Object Type: [e.g., blob, tree, commit]
- Object Size: [if known]
Code Snippets
// Relevant code from Main.java or other files
Comparison with Real Git
# Real Git command
git [command] [args]
# Output from real Git
CodeCrafters Specific
- Stage Number: [e.g., Stage 3]
- Test Case: [Brief description of failing test]
- CodeCrafters Error Message:
Paste CodeCrafters test output here
Additional Context
Proposed Solution
Related Issues
Checklist
Issue Type
Git Command Affected
init- Repository initializationcat-file- Object content displayls-tree- Tree object listingcommit- Commit creationclone- Repository cloningEnvironment
Command/Steps to Reproduce
Expected Behavior
Actual Behavior
Error Output
Test Repository State
Repository structure (if relevant):
Git Object Details
Code Snippets
// Relevant code from Main.java or other filesComparison with Real Git
CodeCrafters Specific
Additional Context
Proposed Solution
Related Issues
Checklist