aboutsummaryrefslogtreecommitdiff
path: root/share/keyringer/git
blob: 439198aa7a08191ba910da3bfb4d8bdb6af3879a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
#
# Git wrapper.
#

# Load functions
LIB="`dirname $0`/../../lib/keyringer/functions"
source $LIB || exit 1

# Aditional parameters
CWD="`pwd`"

# Run git command
shift
mkdir -p $BASEDIR && cd $BASEDIR && git $*
cd $CWD