summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-05-05 15:14:54 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-05-05 15:14:54 +0200
commit3cdc72ad068b9e63295e3d2f941da403690ad966 (patch)
treee9f1ddd05b39d566cd13f2e2da84ac2988c84807
parent59370e1adfc660de499cd716f394a461cf294c25 (diff)
scripts/update-todo: Pass file directly to git commit (thx mxey)
-rwxr-xr-xscripts/update-todo.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/update-todo.sh b/scripts/update-todo.sh
index 3e108a0..962ad70 100755
--- a/scripts/update-todo.sh
+++ b/scripts/update-todo.sh
@@ -1,7 +1,4 @@
#!/bin/sh -e
-test -z "$(git ls-files --modified --deleted --others --exclude-standard)"
-
ghi --repo=derf/feh --verbose list > TODO
-git add TODO
-git commit -m 'Update TODO (via github)'
+git commit -m 'Update TODO (via github)' TODO