Skip to content

ADD CODE_OF_CONDUCT #18

@anchalV194

Description

@anchalV194

Issue Type

  • Bug Report
  • Feature Request
  • Git Command Implementation
  • CodeCrafters Challenge Issue
  • Documentation Issue
  • Performance Issue
  • Question/Help Needed

Git Command Affected

  • init - Repository initialization
  • cat-file - Object content display
  • ls-tree - Tree object listing
  • commit - Commit creation
  • clone - Repository cloning
  • Object management (blobs, trees, commits)
  • Other: ___________

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

  • Empty repository (just initialized)
  • Repository with staged files
  • Repository with commits
  • Cloned repository
  • Repository with specific object types

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

  • This worked in a previous version
  • This is a new feature implementation
  • This affects multiple Git commands
  • This is related to Git internals/object storage

Proposed Solution

Related Issues

Checklist

  • I have tested with the latest code
  • I have compared behavior with real Git
  • I have checked the CodeCrafters requirements
  • I have included complete error messages
  • I have provided the exact commands used
  • I have searched existing issues to avoid duplicates

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions