Skip to content

[BUG] Replace Hardcoded Display Limits with Named Constants Description #72

@adeeshperera

Description

@adeeshperera

In display.go, the ShowFileStatistics function uses hardcoded numbers (5, 3, 3) to limit how many files are displayed in each category (staged, unstaged, untracked). These hardcoded values should be replaced with named constants for better maintainability. This makes it easy to adjust display limits in the future by changing just the constant values.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggoPull requests that update go codehacktoberfestEligible for Hacktoberfest

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions