]> mj.ucw.cz Git - gallery.git/commitdiff
gal-mj-upload: Auto commit message
authorMartin Mares <mj@ucw.cz>
Mon, 18 Apr 2022 09:30:11 +0000 (11:30 +0200)
committerMartin Mares <mj@ucw.cz>
Mon, 18 Apr 2022 09:30:11 +0000 (11:30 +0200)
bin/gal-mj-upload

index c75bac29001294ec1a66b1a04831f7123db59aa1..e24922780f916b446e4d37d20aa8e037ba819422 100755 (executable)
@@ -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";