From: Martin Mares Date: Mon, 18 Apr 2022 09:30:11 +0000 (+0200) Subject: gal-mj-upload: Auto commit message X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=38ca7389aad557477863e51a8bc70828368495f9;p=gallery.git gal-mj-upload: Auto commit message --- diff --git a/bin/gal-mj-upload b/bin/gal-mj-upload index c75bac2..e249227 100755 --- a/bin/gal-mj-upload +++ b/bin/gal-mj-upload @@ -28,7 +28,7 @@ die if $?; print "## Committing to repository\n"; system 'git', 'add', 'gallery.cf', 'gallery.list'; die if #?; system 'git', 'add', "$root/photos/Makefile", "$root/photos/index.thtml", "$root/photos/default.cf"; die if $?; -system 'git', 'commit'; die if $?; +system 'git', 'commit', '-m', "photos/$album"; die if $?; system 'git', 'push'; die if $?; print "## Pulling at the server\n";