swh:1:snp:7a00303c98f65d2a9221cf55c3a23ffca44b6300
Raw File
Tip revision: 2b7b58c4b31cf74da6062396ac96fb12b9499ea0 authored by Pierre-Yves Strub on 15 October 2019, 07:02:30 UTC
Merge branch '1.0' into deploy-global-union
Tip revision: 2b7b58c
get-commit
#! /bin/bash

# --------------------------------------------------------------------
hash=$(head -n 1 <(git rev-parse HEAD 2>/dev/null))

if [[ "${hash}" =~ ^[a-fA-F0-9]{40}$ ]]; then
  echo -n "${hash}"
fi
back to top