From 54213d336782b55c73eac2eae78f27ea87bb2656 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Fri, 13 Aug 2010 14:20:11 +0200 Subject: [Funcs] get git status while into a .repo folder --- 01_Functions.zsh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/01_Functions.zsh b/01_Functions.zsh index 5d4f16b..f6c99bf 100644 --- a/01_Functions.zsh +++ b/01_Functions.zsh @@ -191,6 +191,12 @@ get_git_status () then return fi + if [ -f ".repo/manifests.git/config" ] + then + echo "$git_colors[up_to_date]"; + return + fi + if [ "$(git-rev-parse --is-inside-git-dir)" = "true" -o "$(git-config --get core.bare)" = "true" ] ; then echo "$git_colors[managment_folder]" return -- cgit v1.2.3