sourcegraph/cmd
Erik Seliger 335133ab96
gitserver(ListRefs): Fix type detection for lightweight tags (#62671)
In git, there exist two types of tags: Lightweight tags, those are boring old refs that live in refs/tags/ and point directly to a commit.
And then there are annotated tags, those live in refs/tags/ too, but they don't point to a commit directly, instead they point to a tag object, which then points to a commit object.
That is used to add a message to a tag.

However, we didn't detect lightweight tags correctly, so they would be reported as Type: Branch (as they point to a commit).

This PR fixes it.

Test plan:

Added tests and verified manually using gRPC UI.
2024-05-14 21:51:02 +02:00
..
appliance appliance: add appliance skeleton (#62172) 2024-04-29 16:04:56 -04:00
batcheshelper Build images end-to-end using Bazel v2 (#61845) 2024-04-12 16:18:43 +01:00
blobstore chore: Break dependency of internal/trace on conf (#62177) 2024-04-30 21:12:39 +02:00
bundled-executor Build images end-to-end using Bazel v2 (#61845) 2024-04-12 16:18:43 +01:00
cody-gateway LLM Models: add GPT-4o support (#62639) 2024-05-13 14:06:25 -07:00
embeddings chore: Break dependency of internal/trace on conf (#62177) 2024-04-30 21:12:39 +02:00
enterprise-portal enterprise-portal: initialize service with dotcom DB connection (#62525) 2024-05-09 23:30:39 +00:00
executor release(executors): update ami naming (#62579) 2024-05-14 03:56:27 -05:00
executor-kubernetes Build images end-to-end using Bazel v2 (#61845) 2024-04-12 16:18:43 +01:00
frontend Cody Ignore: update version constraint mismatch error text (#62654) 2024-05-14 17:44:09 +02:00
gitserver gitserver(ListRefs): Fix type detection for lightweight tags (#62671) 2024-05-14 21:51:02 +02:00
loadtest Publish sourcegraph-base image (#62002) 2024-04-19 14:44:06 +01:00
migrator Publish sourcegraph-base image (#62002) 2024-04-19 14:44:06 +01:00
msp-example cmd/msp-example: remove gorm (#62110) 2024-04-23 20:00:10 +00:00
pings cmd/pings: set up msp_delivery (#62109) 2024-04-23 14:03:18 -07:00
precise-code-intel-worker Publish sourcegraph-base image (#62002) 2024-04-19 14:44:06 +01:00
repo-updater gitserver: Move repo timestamp updates to caller (#62610) 2024-05-13 14:50:48 +02:00
searcher Make ignored types more explicit (#62576) 2024-05-09 12:25:52 -04:00
server gitserver: Simplify invocation of p4-fusion (#62070) 2024-05-02 01:44:53 +02:00
symbols Make ignored types more explicit (#62576) 2024-05-09 12:25:52 -04:00
syntactic-code-intel-worker Publish sourcegraph-base image (#62002) 2024-04-19 14:44:06 +01:00
telemetry-gateway telemetry/resolvers, internal/telemetry, telemetry-gateway: validate feature/action (#62214) 2024-04-29 19:34:50 +00:00
worker gitserver: Make ReadDir return an iterator on client side (#62602) 2024-05-13 14:24:14 +02:00
README.md Reminder to keep architecture diagram in-sync (#36869) 2022-06-08 19:40:36 -07:00

This directory contains Sourcegraph services and binaries.

When a services is added, removed, or when a service's dependencies change, update our architecture diagram.