am: use gmtime() to parse mercurial patch date
[gitweb.git] / git-send-email.perl
index a18a7959ed81e9385b490e475bb87bd6875eb0e1..e1e9b1460ced5f660b32796890df7336bc3d01af 100755 (executable)
@@ -762,6 +762,7 @@ sub file_declares_8bit_cte {
                print "    $f\n";
        }
        $auto_8bit_encoding = ask("Which 8bit encoding should I declare [UTF-8]? ",
+                                 valid_re => qr/.{4}/, confirm_only => 1,
                                  default => "UTF-8");
 }