sourcegraph / cody

Type less, code more: Cody is an AI code assistant that uses advanced search and codebase context to help you write and fix code.
https://cody.dev
Apache License 2.0
2.46k stars 251 forks source link

bug: Cannot send git command Custom Commands #4830

Open Overload119 opened 1 month ago

Overload119 commented 1 month ago

Version

2024-07-05, 08:53:08

Describe the bug

Context is not being included. It's being exluded for some reason.

screenshot 2024-07-10 at 12 34 43@2x

My repo:

.cody/ignore

sorbet/
spec/fixtures/
public/packs/

Expected behavior

It should be included

Additional context

No response

abeatrix commented 1 month ago

If you hover over the link it should say the file/output was too large to be included. In this case, breaking the commit into smaller parts could help. You can also try only include the files that's more relevant to generate the commit message first before staging all the files 😃

Overload119 commented 1 month ago

In that case maybe the bug is that it didn't actually say that - I hovered over it. I will reproduce on Monday and follow up.

Overload119 commented 1 month ago

https://github.com/user-attachments/assets/c854783e-80e1-4360-8c8f-d7e69a8844f6

That did indeed seem to be the error! but as you can see, it did not show me a tooltip on why.