aboutsummaryrefslogtreecommitdiff
path: root/share/keyringer/git
blob: cd9879c565139db45db141549759412134fdac6c (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/bash/functions"
source "$LIB" || exit 1

# Aditional parameters
CWD="`pwd`"

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