From a72e67c8affff575c4c55ac56596b04c3704152f Mon Sep 17 00:00:00 2001 From: sterni Date: Thu, 22 Jun 2023 13:41:54 +0200 Subject: feat(tools/git-r): git subcommand to display r/numbers for commits Sadly, this can't quite be an alias (which would be difficult to automatically set up anyways), since we want to check if an r/number is part of the (upstream) canon branch. The test script for the subcommand doubles up as a soundness check for our pipelines ref creation. Change-Id: I840af6556e50187c69490668bd8a18dd7dc25a86 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8844 Tested-by: BuildkiteCI Autosubmit: sterni Reviewed-by: flokli --- tools/depot-deps.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/depot-deps.nix') diff --git a/tools/depot-deps.nix b/tools/depot-deps.nix index 60af9f1378c5..480b8c2f7c34 100644 --- a/tools/depot-deps.nix +++ b/tools/depot-deps.nix @@ -7,6 +7,7 @@ depot.nix.lazy-deps { age.attr = "third_party.nixpkgs.age"; depotfmt.attr = "tools.depotfmt"; fetch-depot-inbox.attr = "tools.fetch-depot-inbox"; + git-r.attr = "tools.git-r"; gerrit-update.attr = "tools.gerrit-update"; gerrit.attr = "tools.gerrit-cli"; hash-password.attr = "tools.hash-password"; -- cgit 1.4.1