* [PATCH] Fix fossil detection on unix
@ 2012-09-28 21:47 Frank Terbeck
0 siblings, 0 replies; only message in thread
From: Frank Terbeck @ 2012-09-28 21:47 UTC (permalink / raw)
To: zsh-workers
From: Baptiste Daroussin <baptiste.daroussin@gmail.com>
Here is a patch to fix the fossil detection in vcs_info when using
recent fossil on unix (the checkout file now defaults on .fslckout on
unix but remains FOSSIL on Windows.
---
Functions/VCS_Info/Backends/VCS_INFO_detect_fossil | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Functions/VCS_Info/Backends/VCS_INFO_detect_fossil b/Functions/VCS_Info/Backends/VCS_INFO_detect_fossil
index 5515283..a44b33e 100644
--- a/Functions/VCS_Info/Backends/VCS_INFO_detect_fossil
+++ b/Functions/VCS_Info/Backends/VCS_INFO_detect_fossil
@@ -7,7 +7,7 @@ setopt localoptions NO_shwordsplit
[[ $1 == '--flavours' ]] && return 1
VCS_INFO_check_com ${vcs_comm[cmd]} || return 1
-vcs_comm[detect_need_file]=_FOSSIL_
+vcs_comm[detect_need_file]="_FOSSIL_ .fslckout"
VCS_INFO_bydir_detect . || return 1
return 0
--
1.7.12.1.382.gb0576a6
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-09-28 21:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-28 21:47 [PATCH] Fix fossil detection on unix Frank Terbeck
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).