Git: Simplify git_search git_sign names.
This commit is contained in:
parent
d3e936f844
commit
81d6530047
|
@ -225,12 +225,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
# Search for string in whole git history.
|
# Search for string in whole git history.
|
||||||
# Usage: git_search <STRING>
|
# Usage: gsearch <STRING>
|
||||||
function git_search() {
|
function gsearch() {
|
||||||
local target="''${*}"
|
local target="''${*}"
|
||||||
|
|
||||||
if [[ "''${target}" = "" ]]; then
|
if [[ "''${target}" = "" ]]; then
|
||||||
help git_search
|
help gsearch
|
||||||
return 2
|
return 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -238,8 +238,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
# Sign the old commits. 0 to resign from root.
|
# Sign the old commits. 0 to resign from root.
|
||||||
# Usage: git_sign [COMMIT_COUNT]
|
# Usage: gsign [COMMIT_COUNT]
|
||||||
function git_sign() {
|
function gsign() {
|
||||||
local base="''${1}"
|
local base="''${1}"
|
||||||
|
|
||||||
# Resign last commit by default.
|
# Resign last commit by default.
|
||||||
|
|
Loading…
Reference in a new issue