From 81d6530047b56d76374463a872378e5164a46206 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Wed, 23 Oct 2024 19:22:36 +0300 Subject: [PATCH] Git: Simplify git_search git_sign names. --- home/program/bash/module/Git.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/home/program/bash/module/Git.nix b/home/program/bash/module/Git.nix index 1c6b75f..6c2c8df 100644 --- a/home/program/bash/module/Git.nix +++ b/home/program/bash/module/Git.nix @@ -225,12 +225,12 @@ } # Search for string in whole git history. - # Usage: git_search - function git_search() { + # Usage: gsearch + function gsearch() { local target="''${*}" if [[ "''${target}" = "" ]]; then - help git_search + help gsearch return 2 fi @@ -238,8 +238,8 @@ } # Sign the old commits. 0 to resign from root. - # Usage: git_sign [COMMIT_COUNT] - function git_sign() { + # Usage: gsign [COMMIT_COUNT] + function gsign() { local base="''${1}" # Resign last commit by default.