l10n: ko.po: Update Korean translation
[gitweb.git] / git-rebase--interactive.sh
index 068b16722af16fd09d63dedd5ce30c3204080d4f..e2da524f5a26206b3558f5a1d062695939c054e7 100644 (file)
@@ -121,7 +121,7 @@ mark_action_done () {
        sed -e 1q < "$todo" >> "$done"
        sed -e 1d < "$todo" >> "$todo".new
        mv -f "$todo".new "$todo"
-       new_count=$(git stripspace --strip-comments <"$done" | wc -l)
+       new_count=$(( $(git stripspace --strip-comments <"$done" | wc -l) ))
        echo $new_count >"$msgnum"
        total=$(($new_count + $(git stripspace --strip-comments <"$todo" | wc -l)))
        echo $total >"$end"
@@ -212,6 +212,7 @@ Once you are satisfied with your changes, run
 }
 
 die_abort () {
+       apply_autostash
        rm -rf "$state_dir"
        die "$1"
 }