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

Feature Request: Check if commit is existent via http-protocol

From
MRMarius Raht <mariusraht@gmail.com>
Date
Nov 13, 2019, 13:14 UTC
Message-ID
<c5147250-4af2-0e98-db6e-20602a38fba4@gmail.com>
Hi there,

for the development of a git client on a SAP System we need to make sure that a specific commit is existent in a specific branch. For that we have to ask the git server for the related information via the http protocol. There are two option from my point of view to achieve this:

1) You can request a specific list of commits of a branch by index (e.g. 
"1 to 30 <sha1 of branch>" would send the first 30 commits from the 
server to the client of the branch "master"
2) You send a request to the git server to verify that a specific commit 
is within a specific branch´and the response is something like "TRUE" or 
the sha1 of the branch the commit belongs to (branch of the time the 
commit was created).
Best regards,
Marius Raht
Next: brian m. carlson
Message 1 of 4 in “Feature Request: Check if commit is existent via http-protocol”
  1. Marius RahtNov 13, 2019
  2. brian m. carlsonNov 14, 2019
  3. Jeff KingNov 14, 2019
  4. Jonathan TanNov 14, 2019

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.