{"thread":{"id":"58866","subject":"possible bug for Git - Git incorrectly recognizes which file has been renamed.","startedAt":"2022-11-28T20:06:41Z","lastAt":"2022-11-28T20:06:41Z","messageCount":1,"participants":["Tomasz Osak"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"468124","messageId":"01e70557-6f54-142c-a98b-f109f69648a3@gmail.com","threadId":"58866","inReplyTo":null,"subject":"possible bug for Git - Git incorrectly recognizes which file has been renamed.","fromName":"Tomasz Osak","fromEmail":"tomasz.osak.80@gmail.com","sentAt":"2022-11-28T20:06:34Z","receivedAt":"2022-11-28T20:06:41Z","isPatch":false,"sender":{"key":"tomasz.osak.80@gmail.com","avatar":null},"body":"What were you doing before the error occurred? (Steps to reproduce the \nproblem)\nI was doing the exercise \"EXERCISE: A VERSIONED TODO APP\" from the end \nof chapter 3 of M. Tsitoar's book \"Beginning Git and GitHub\":\n\nCreate two new files named DONE.txt and WORKING.txt\nStage and commit those files\nRename WORKING.txt to 'IN PROGRES.txt'\nAdd some text to DONE.txt\nStage 'IN PROGRESS.txt' and DONE.txt\nUnstage DONE.txt\nGit status\nYou can see the information: renamed DONE.txt -> 'IN PROGRESS.txt'\nGit commit\nIn the message file the comment is similar: renamed DONE.txt -> 'IN \nPROGRESS.txt'\n\nWhat should happen? (Expected behavior)\nGit status\nYou should see the message: renamed WORKING.txt -> 'IN PROGRESS.txt'\nGit commit\nSimilarly, in the message file you should see a comment: renamed \nWORKING.txt -> 'IN PROGRESS.txt'\n\nWhat happened instead? (Actual behavior)\nGit status\nShows information: renamed DONE.txt -> 'IN PROGRESS.txt'\nGit commit\nIn the message file also you can see the comment: renamed DONE.txt -> \n'IN PROGRESS.txt'\n\nWhat is the difference between what should happen and what happened?\nGit incorrectly recognizes which file has been renamed (DONE.txt instead \nof WORKING.txt).\n\nOther valuable comments:\nBoth files (DONE.txt and WORKING.txt) were empty during the first commit.\n\nRegards\n\nTomasz Osak\n\n\nDziękujemy za wypełnienie zgłoszenia o błędzie Gita!\nOdpowiedz na następujące pytania, aby pomóc nam zrozumieć problem.\n\nCo robiłeś/-aś zanim pojawił się błąd? (Kroki, aby odtworzyć problem)\nWykonywałem ćwiczenie \"EXERCISE: A VERSIONED TODO APP\" z końca 3. rozdziału książki M. Tsitoara \"Beginning Git and GitHub\":\nCreate two new files named DONE.txt and WORKING.txt\nStage and commit those files\nRename WORKING.txt to 'IN PROGRES.txt'\nAdd some text to DONE.txt\nStage 'IN PROGRESS.txt' and DONE.txt\nUnstage DONE.txt\nGit status\nWidać informację: zmieniono nazwę DONE.txt -> 'IN PROGRESS.txt'\nGit commit\nW pliku message podobnie jest komentarz: zmieniono nazwę DONE.txt -> 'IN PROGRESS.txt'\n\nCo powinno się stać? (Oczekiwane zachowanie)\nGit status\nPowinno być widać informację: zmieniono nazwę WORKING.txt -> 'IN PROGRESS.txt'\nGit commit\nPodobnie w pliku message powinno być widać komentarz: zmieniono nazwę WORKING.txt -> 'IN PROGRESS.txt' \n\nCo stało się zamiast tego? (Rzeczywiste zachowanie)\nGit status\nPokazuje informację: zmieniono nazwę DONE.txt -> 'IN PROGRESS.txt'\nGit commit\nW pliku message widać komentarz: zmieniono nazwę DONE.txt -> 'IN PROGRESS.txt'\n\nJaka jest różnica między tym, co powinno się stać, a tym, co się stało?\nGit błędnie rozpoznaje którego pliku nazwę zmieniono (DONE.txt zamiast WORKING.txt).\n\nInne cenne uwagi:\nOba pliki (DONE.txt i WORKING.txt) były puste podczas pierwszego commit.\n\nPrzejrzyj resztę zgłoszenia błędu poniżej.\nMożesz usunąć wiersze, którymi nie chcesz się dzielić.\n\n\n[Informacje o systemie]\nwersja gita:\ngit version 2.38.1\ncpu: x86_64\nno commit associated with this build\nsizeof-long: 8\nsizeof-size_t: 8\nshell-path: /bin/sh\nuname: Linux 6.0.9-200.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 16 17:50:45 UTC 2022 x86_64\ninformacje o kompilacji: gnuc: 12.2\ninformacje o bibliotece libc: glibc: 2.35\n$SHELL (typically, interactive shell): /bin/bash\n\n\n[Włączone skrypty Gita]\n"}]}