about summary refs log tree commit diff
path: root/Functions/VCS_Info/Backends/VCS_INFO_get_data_tla
diff options
context:
space:
mode:
authordana <dana@dana.is>2018-06-16 12:03:23 -0500
committerdana <dana@dana.is>2018-06-16 12:03:23 -0500
commitfaa07d064bb2bd9cd9892a255a4b63811242b9fb (patch)
treebfafce52bdc73d54f6319a51b5263ea65dbfb232 /Functions/VCS_Info/Backends/VCS_INFO_get_data_tla
parent0daeed20e1828b9026b8800555d3f5dad1088544 (diff)
downloadzsh-faa07d064bb2bd9cd9892a255a4b63811242b9fb.tar.gz
zsh-faa07d064bb2bd9cd9892a255a4b63811242b9fb.tar.xz
zsh-faa07d064bb2bd9cd9892a255a4b63811242b9fb.zip
43030: Replace VCS_INFO_realpath() by :P
Diffstat (limited to 'Functions/VCS_Info/Backends/VCS_INFO_get_data_tla')
-rw-r--r--Functions/VCS_Info/Backends/VCS_INFO_get_data_tla2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/VCS_Info/Backends/VCS_INFO_get_data_tla b/Functions/VCS_Info/Backends/VCS_INFO_get_data_tla
index f015e0cce..4e9cee8b9 100644
--- a/Functions/VCS_Info/Backends/VCS_INFO_get_data_tla
+++ b/Functions/VCS_Info/Backends/VCS_INFO_get_data_tla
@@ -5,7 +5,7 @@
 setopt localoptions extendedglob NO_shwordsplit
 local tlabase tlabranch
 
-tlabase="$(VCS_INFO_realpath ${vcs_comm[basedir]})"
+tlabase=${vcs_comm[basedir]:P}
 rrn=${tlabase:t}
 # tree-id gives us something like 'foo@example.com/demo--1.0--patch-4', so:
 tlabranch=${${"$( ${vcs_comm[cmd]} tree-id )"}/*\//}