summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ce3fe9a)
Apparently this was missed when the function was introduced. The
variable is only referenced in _get_subtree().
_get_subtree()
{
local tree="$1" root="${2%/}"
_get_subtree()
{
local tree="$1" root="${2%/}"
first="$(grep -n "$TAB\{1,\}$root/" <<< "$tree")"
[[ -z "$first" ]] && return
first="$(grep -n "$TAB\{1,\}$root/" <<< "$tree")"
[[ -z "$first" ]] && return