mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
un-readonly
This commit is contained in:
parent
6bd293a35c
commit
bbcb22f7b3
|
|
@ -4,7 +4,6 @@ set -euo pipefail
|
||||||
|
|
||||||
# git rev-parse emits an error if not in a git repo so only need to bail out
|
# git rev-parse emits an error if not in a git repo so only need to bail out
|
||||||
gitdir="$(git rev-parse --git-dir)" || exit
|
gitdir="$(git rev-parse --git-dir)" || exit
|
||||||
readonly gitdir
|
|
||||||
|
|
||||||
discover_op() {
|
discover_op() {
|
||||||
local op
|
local op
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue