blob: 698af4d51bc502bd8f3255340b2ea42799d83bcd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
#
# Commit both on git and svn
#
# Parameters
ARGS="$*"
# Simply update commit
if git status &> /dev/null; then
if [ ! -z "$1" ]; then
commit "Updates $*"
else
commit "Updates $(basename `pwd`)"
fi
else
mr commit -m "Updates"
fi
|