1 files changed,
2 insertions(+),
2 deletions(-)
Author:
Oleksandr Smirnov
olexsmir@gmail.com
Committed at:
2026-01-30 20:54:12 +0200
Change ID:
uzyxkttppnwkkpnwlyuztzpxzntoowyx
Parent:
18538b5
M
internal/git/repo.go
@@ -180,12 +180,12 @@ func (g *Repo) Description() (string, error) {
// TODO: ??? Support both mugit.description and /description file path := filepath.Join(g.path, "description") if _, err := os.Stat(path); err != nil { - return "", fmt.Errorf("no description file found") + return "", nil } d, err := os.ReadFile(path) if err != nil { - return "", fmt.Errorf("failed to read description: %w", err) + return "", fmt.Errorf("failed to read description file: %w", err) } desc := string(d)