diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2024-02-29 16:13:03 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-03-05 10:06:46 +0000 |
| commit | bc28da7b1d62423d9e6dc6420803e11311d5408f (patch) | |
| tree | ad4b36373a4e228eeec0b6663a252c5a9818b83e /executor/executor_linux.h | |
| parent | 5fc5366972c874b919f93165bb4ed4e2bcb7c350 (diff) | |
pkg/vcs: support fetches by a short git hash
The approach we used works perfectly for all commits, but they must be
referenced by the full 40 character hash. In almost all cases, users
would prefer to use the shorter one.
If the commit hash is not 40 characters long, fetch the whole git tree.
The only unsupported scenario is fetching a commit that is referenced by
custom refs/* by its short hash. It's unlikely there's anything we can
do here.
Diffstat (limited to 'executor/executor_linux.h')
0 files changed, 0 insertions, 0 deletions
