git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [BUG] Strange git notes completion behaviour

From
D. Ben Knoble <ben.knoble@gmail.com>
Date
Oct 21, 2025, 21:32 UTC
Message-ID
<CALnO6CD8JU2qMCnC=qQmNOV6Wy1ZnveT3tRxUz1E0LVMj5oU9w@mail.gmail.com>
In-Reply-To
<012601dc42ce$a1adcb50$e50961f0$@nexbridge.com>
On Tue, Oct 21, 2025 at 5:07 PM <rsbecker@nexbridge.com> wrote:
Show 17 quoted lines
>
> Hi All,
>
> I tried the following in git 2.51.0 on NonStop (big endian x86):
>
> git notes add -m "Test Note" HEAD
> git notes show HEAD
>
> The git notes show reports a completion code of 037777777764 (-12). This
> gets
> hidden by bash, which truncates negative results so it shows as 0, not -12.
> This
> only seems to happen in git notes show, not any other commands or
> sub-commands. I checked in gdb and this is in fact happening. Anywhere I can
> look to try to find where this is failing?
>
> --Randall

Exit code or shell (tab) completion? I'm a bit confused, so maybe someone else is, too.

-- 
D. Ben Knoble
Previous: rsbecker@nexbridge.comNext: rsbecker@nexbridge.com
Message 2 of 12 in “[BUG] Strange git notes completion behaviour”
  1. rsbecker@nexbridge.comOct 21, 2025
  2. D. Ben KnobleOct 21, 2025
  3. rsbecker@nexbridge.comOct 21, 2025
  4. Jeff KingOct 22, 2025
  5. rsbecker@nexbridge.comOct 22, 2025
  6. Jeff KingOct 23, 2025
  7. rsbecker@nexbridge.comOct 24, 2025
  8. Jeff KingOct 24, 2025
  9. rsbecker@nexbridge.comOct 24, 2025
  10. Jeff KingOct 24, 2025
  11. rsbecker@nexbridge.comOct 24, 2025
  12. Jeff KingOct 24, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.