Uploaded image for project: 'Skara'
  1. Skara
  2. SKARA-2286

Git jcheck --working-tree/--staged not compatible with some checks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.0
    • None
    • cli
    • None

      In SKARA-1690, I tried to make jcheck cli able to run jcheck on the diff in current working tree. But seems like this feature is not compatible with some jchecks like problemLists check.

      In problemLists check, it will execute "git -c core.quotePath=false ls-tree -r working-tree <dir>" to get all files in the dir, but working-tree is not a valid tree object.

            zsong Zhao Song
            zsong Zhao Song
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: