]> git.sur5r.net Git - kconfig-frontends/blobdiff - scripts/ksync.sh
frontends/qconf: silence a warning
[kconfig-frontends] / scripts / ksync.sh
index aa7464e7ac434455ac48765c486c9a5693000c4d..ae6119cfd5634db12234efb56459dd73ac15f9e8 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/sh
+set -e
 
 my_name="${0##*/}"
 
@@ -54,8 +55,9 @@ done <scripts/ksync.list
 # Save the changelog between the old cset and now
 printf "Synced-up these changes:\n"
 ( cd "${k_dir}"
-  git log --no-merges --pretty='tformat:%s'     \
+  git log --no-merges --pretty='tformat:%h %s'  \
     "${k_cset_old}..${k_cset}"                  \
     ${k_files}                                  \
-)|tee -a "scripts/ksync.log"                    \
+)|tac                                           \
+ |tee -a "scripts/ksync.log"                    \
  |sed -e 's/^/    /;'