We move get_max_file_size from generic/485 to common rc, and add max filesize limit to generic/299. In addition, we pick up the common function get_max_lfs_filesize() from generic/349, 350, 351 to make code more concise. Yufen Yu (2): commom/rc: use the common function get_max_file_size common/rc: add get_max_lfs_filesize to return MAX_LFS_FILESIZE common/rc | 39 +++++++++++++++++++++++++++++++++++++++ tests/generic/299 | 5 +++++ tests/generic/349 | 12 +----------- tests/generic/350 | 12 +----------- tests/generic/351 | 12 +----------- tests/generic/485 | 23 ----------------------- 6 files changed, 47 insertions(+), 56 deletions(-) -- 2.16.2.dirty