Merge branch 'master' of /opt/git/clearscm
[clearscm.git] / rc / client_scripts / Axcient
1 #!/bin/bash
2 ################################################################################
3 #
4 # File:         $RCSfile: Axcient,v $
5 # Revision:     $Revision: $
6 # Description:  Client specific start up for Axcient
7 # Author:       Andrew@DeFaria.com
8 # Created:      Tue Aug 13 11:49:46 PDT 2013
9 # Modified:     $Date: $
10 # Language:     bash
11 #
12 # (c) Copyright 2013, Andrew@DeFaria.com, all rights reserved.
13 #
14 ################################################################################
15 function git () {
16   # Need to reset title since we put the branch name in the titlebar
17   git=$(which git)
18
19   if [ "$1" = "checkout" ]; then
20     $git $@
21     set_title
22   else
23     $git $@
24   fi
25 } # git