Get commits fail (OD-2234)
Ter opened 1 year ago

Got commits from by API fail. That is the error from my tool: (Request fail by url: repositories/81/commits/16012d5ac60724c49414c5c4fc382bcd289a3371, status code is InternalServerError,Command execution failed (command: git log "--format=hash:%H %ncommitter:%cn %ncommitterEmail:%ce %ncommitterDate:%cd %ncommitDate:%cd %n" --date=raw 16012d5ac60724c49414c5c4fc382bcd289a3371 -1 -i --, exit code: 128))

That is log of server: 2024-12-30 19:02:53,182 ERROR [pool-3-thread-2] i.o.server.git.command.LogCommand fatal: bad object 16012d5ac60724c49414c5c4fc382bcd289a3371 2024-12-30 19:04:03,341 ERROR [pool-3-thread-21] i.o.server.git.command.LogCommand fatal: bad object 16012d5ac60724c49414c5c4fc382bcd289a3371

Server version is 11.6.9

  • Robin Shen commented 1 year ago

    Seems that either commit 16012d5ac60724c49414c5c4fc382bcd289a3371 is corrupted or it does not exist.

  • Ter commented 1 year ago

    thx, but I have another question, I what to know which repository is the 81, can I got it by web ui ?

  • Robin Shen commented 1 year ago

    Use the query "Id" is "81" on projects page

  • Ter changed state to 'Closed' 1 year ago
    Previous Value Current Value
    Open
    Closed
  • Ter commented 1 year ago

    Question has been resolved, the commit which releated with issue has been deleted, but can be queried by issues/{issueID}/changes. I have skip these commits in my tool Thanks.

issue 1/1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-2234
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover