From: Marius Raht <mariusraht@gmail.com>
To: git@vger.kernel.org
Subject: Feature Request: Check if commit is existent via http-protocol
Date: Wed, 13 Nov 2019 14:14:00 +0100 [thread overview]
Message-ID: <c5147250-4af2-0e98-db6e-20602a38fba4@gmail.com> (raw)
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 reply other threads:[~2019-11-13 13:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-13 13:14 Marius Raht [this message]
2019-11-14 2:52 ` Feature Request: Check if commit is existent via http-protocol brian m. carlson
2019-11-14 6:41 ` Jeff King
2019-11-14 20:05 ` Jonathan Tan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c5147250-4af2-0e98-db6e-20602a38fba4@gmail.com \
--to=mariusraht@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).