git-config: always treat --int as 64-bit internally
[gitweb.git] / t / t1300-repo-config.sh
index 20aee6e171c41139007187d6155339d484f44d54..b66c63262162e54377f975ac153d448ae05557d1 100755 (executable)
@@ -652,6 +652,13 @@ test_expect_success numbers '
        test_cmp expect actual
 '
 
+test_expect_success '--int is at least 64 bits' '
+       git config giga.watts 121g &&
+       echo 129922760704 >expect &&
+       git config --int --get giga.watts >actual &&
+       test_cmp expect actual
+'
+
 test_expect_success 'invalid unit' '
        git config aninvalid.unit "1auto" &&
        echo 1auto >expect &&