•  
      request #12720 GIT lfs should compute the overall size in real time
    Infos
    #12720
    Manuel Vacelet (vaceletm)
    2019-01-25 15:51
    2019-01-07 15:13
    13489
    Details
    GIT lfs should compute the overall size in real time

    Given a project with a 1 GB quota, when I run:

    • git lfs track "*.bin"
    • dd if=/dev/urandom of=file1_512_mb_file.bin bs=1MB count=512
    • git add file1_512_mb_file.bin
    • git commit -am "Work 1"
    • git push
    • dd if=/dev/urandom of=file2_512_mb_file.bin bs=1MB count=512
    • git add file2_512_mb_file.bin
    • git commit -am "Work 2"
    • git push

    The second push should fail because over quota

    SCM/Git
    10.9
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2019-01-25
    Attachments
    Empty
    References

    Follow-ups