Uploaded image for project: 'SR for Bitbucket - Development'
  1. SR for Bitbucket - Development
  2. SRBITB-273

Git LFS check fails when pushing changes from Git submodules

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • High
    • Resolution: Fixed
    • 5.0.6
    • 5.3.8
    • None
    • None
    • Sprint 37 - Ends Jan 29
    • 0.9

    Description

      Setup a Git submodule repository as explained here and push this to Bitbucket server.

      Setup the restrict file size hook for that repository and select "Exclude LFS files" option.

      Perform the following steps in the repo:

      $ git checkout master
      $ git checkout -b feature/aNewBranch
      $ git submodule update --init
      $ cd submoduleRefFolder
      $ git fetch --all --prune --tags
      $ git checkout refs/tags/<version> (or commitId or branchName)
      $ cd ../
      $ git push -u origin feature/aNewBranch

      The push fails with the following in the logs:

      Attachments

        Activity

          People

            amarkham Adam Markham
            amarkham Adam Markham
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: