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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.0
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: