about summary refs log tree commit diff
path: root/Functions/VCS_Info/VCS_INFO_bydir_detect
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2020-03-26 01:32:49 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2020-03-27 01:14:42 +0000
commitb0d020408a935d2d1c317206e3eda43217d0d453 (patch)
treecfb23b9f91bf2869e951c6f71684495547911523 /Functions/VCS_Info/VCS_INFO_bydir_detect
parent36df1e4f78319072aa5e1fcf52789c68c9164cae (diff)
downloadzsh-b0d020408a935d2d1c317206e3eda43217d0d453.tar.gz
zsh-b0d020408a935d2d1c317206e3eda43217d0d453.tar.xz
zsh-b0d020408a935d2d1c317206e3eda43217d0d453.zip
45624: vcs_info: Set $rrn in all backends.
Diffstat (limited to 'Functions/VCS_Info/VCS_INFO_bydir_detect')
-rw-r--r--Functions/VCS_Info/VCS_INFO_bydir_detect2
1 files changed, 2 insertions, 0 deletions
diff --git a/Functions/VCS_Info/VCS_INFO_bydir_detect b/Functions/VCS_Info/VCS_INFO_bydir_detect
index 29b261413..89b4d6503 100644
--- a/Functions/VCS_Info/VCS_INFO_bydir_detect
+++ b/Functions/VCS_Info/VCS_INFO_bydir_detect
@@ -36,4 +36,6 @@ done
 
 [[ ${basedir} == "/" ]] && return 1
 vcs_comm[basedir]=${basedir}
+# TODO: Would the following be correct? ---
+# rrn=${vcs_comm[basedir]:t}
 return 0