File: commit.sh

package info (click to toggle)
lazpaint 7.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 56,000 kB
  • sloc: pascal: 277,538; python: 2,494; makefile: 233; sh: 221
file content (13 lines) | stat: -rwxr-xr-x 250 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
git checkout HEAD~ -- lazpaint/release/bin/i18n/*.po
git add .
git status
echo "Type commit description (or press Enter to cancel):"
read commitdesc
if test -z "$commitdesc"
then
  git reset --
else
  git commit -m "$commitdesc"
fi
cd ..