git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Feature Request: Check if commit is existent via http-protocol
@ 2019-11-13 13:14 Marius Raht
  2019-11-14  2:52 ` brian m. carlson
  2019-11-14 20:05 ` Jonathan Tan
  0 siblings, 2 replies; 4+ messages in thread
From: Marius Raht @ 2019-11-13 13:14 UTC (permalink / raw)
  To: git

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-11-14 20:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-13 13:14 Feature Request: Check if commit is existent via http-protocol Marius Raht
2019-11-14  2:52 ` brian m. carlson
2019-11-14  6:41   ` Jeff King
2019-11-14 20:05 ` Jonathan Tan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).