Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. there is a bug in the git commit.
Qt 6.11 is out! See what's new in the release blog

there is a bug in the git commit.

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
9 Posts 3 Posters 585 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cuijg
    wrote on last edited by
    #1

    91d6397e-dba2-4f59-a8ed-34a6c8b3db29-image.png

    When the filename in my Git commit contains Chinese characters, the commit fails.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Do you have the same issue on the command line ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      3
      • C Offline
        C Offline
        cuijg
        wrote on last edited by cuijg
        #3

        @SGaist
        Git commits can be performed normally in the command line.

        1 Reply Last reply
        0
        • aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @cuijg Which platform ist that? Windows?

          Qt has to stay free or it will die.

          C 1 Reply Last reply
          0
          • aha_1980A Offline
            aha_1980A Offline
            aha_1980
            Lifetime Qt Champion
            wrote on last edited by aha_1980
            #5

            @cuijg For now it seems you need to set git config core.quotepath false for the repository.

            I'll have a look if that can be automated within Qt Creator.

            Regards

            Qt has to stay free or it will die.

            1 Reply Last reply
            3
            • aha_1980A Offline
              aha_1980A Offline
              aha_1980
              Lifetime Qt Champion
              wrote on last edited by
              #6

              https://codereview.qt-project.org/c/qt-creator/qt-creator/+/723508 adds support for non-ASCII file paths to Qt Creator 20.0, so the setting core.quotepath false will then no longer be needed.

              Regards

              Qt has to stay free or it will die.

              1 Reply Last reply
              1
              • aha_1980A aha_1980

                @cuijg Which platform ist that? Windows?

                C Offline
                C Offline
                cuijg
                wrote on last edited by
                #7

                @aha_1980
                Mac M2

                SGaistS 1 Reply Last reply
                1
                • C cuijg

                  @aha_1980
                  Mac M2

                  SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @cuijg said in there is a bug in the git commit.:

                  @aha_1980
                  Mac M2

                  Which version of macOS ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • aha_1980A Offline
                    aha_1980A Offline
                    aha_1980
                    Lifetime Qt Champion
                    wrote last edited by
                    #9

                    I needed to rework the patch in https://codereview.qt-project.org/c/qt-creator/qt-creator/+/725372

                    So Creator 20 will work out of the box, if you have Git 2.31.0 or newer. If you can only use older Git versions, you need to set core.quotepath false in local or global a git config file.

                    Regards

                    Qt has to stay free or it will die.

                    1 Reply Last reply
                    0

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved