all repos

mugit @ b03218c9a9c5f45ea5ecadc761e85790de3d6559

🐮 git server that your cow will love
1 files changed, 2 insertions(+), 2 deletions(-)
git: if there's no description file, return no description
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)