{"thread":{"id":"32589","subject":"Fwd: git checkout doesn't work?","startedAt":"2013-01-11T06:46:29Z","lastAt":"2013-01-11T12:52:52Z","messageCount":2,"participants":["Ishayahu Lastov","Duy Nguyen"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"206498","messageId":"CAJ52sWkf+ZkLUdLw1ornVt5E2af3w1YSqhkOajTWxvTPKvkAJg@mail.gmail.com","threadId":"32589","inReplyTo":"CAJ52sWkhQDhaZxjp4vxdwSX8HGYMqaXW=gZ-d6atUDKSjHg=yw@mail.gmail.com","subject":"Fwd: git checkout doesn't work?","fromName":"Ishayahu Lastov","fromEmail":"meoc-it@mail.ru","sentAt":"2013-01-11T06:46:29Z","receivedAt":"2013-01-11T06:46:29Z","isPatch":false,"sender":{"key":"meoc-it@mail.ru","avatar":null},"body":"This is my session on Win7 x64:\nMicrosoft Windows [Version 6.1.7601]\n(c) Корпорация Майкрософт (Microsoft Corp.), 2009. Все права защищены.\n\nC:\\Dropbox\\Dropbox\\Wesnoth\\Apocryphs>cd Apokryphs.Orks\n\nC:\\Dropbox\\Dropbox\\Wesnoth\\Apocryphs\\Apokryphs.Orks>git status\n# On branch master\n# Your branch is behind 'origin/master' by 3 commits, and can be fast-forwarded.\n\n#\n# Changes not staged for commit:\n#   (use \"git add <file>...\" to update what will be committed)\n#   (use \"git checkout -- <file>...\" to discard changes in working directory)\n#\n#       modified:   scenarios/01_NothernVillage.cfg\n#\nno changes added to commit (use \"git add\" and/or \"git commit -a\")\n\nC:\\Dropbox\\Dropbox\\Wesnoth\\Apocryphs\\Apokryphs.Orks>cd scenarios\n\nC:\\Dropbox\\Dropbox\\Wesnoth\\Apocryphs\\Apokryphs.Orks\\scenarios>git status\n# On branch master\n# Your branch is behind 'origin/master' by 3 commits, and can be fast-forwarded.\n\n#\n# Changes not staged for commit:\n#   (use \"git add <file>...\" to update what will be committed)\n#   (use \"git checkout -- <file>...\" to discard changes in working directory)\n#\n#       modified:   01_NothernVillage.cfg\n#\nno changes added to commit (use \"git add\" and/or \"git commit -a\")\n\nC:\\Dropbox\\Dropbox\\Wesnoth\\Apocryphs\\Apokryphs.Orks\\scenarios>git checkout -- 01\n_NothernVillage.cfg\n\nC:\\Dropbox\\Dropbox\\Wesnoth\\Apocryphs\\Apokryphs.Orks\\scenarios>git status\n# On branch master\n# Your branch is behind 'origin/master' by 3 commits, and can be fast-forwarded.\n\n#\n# Changes not staged for commit:\n#   (use \"git add <file>...\" to update what will be committed)\n#   (use \"git checkout -- <file>...\" to discard changes in working directory)\n#\n#       modified:   01_NothernVillage.cfg\n#\nno changes added to commit (use \"git add\" and/or \"git commit -a\")\n\nC:\\Dropbox\\Dropbox\\Wesnoth\\Apocryphs\\Apokryphs.Orks\\scenarios>\n\nAs I understand after last \"git checkout\" in \"git status\" I should see\nthat I gave no changes. It looks like an bug, isn't it?\n\n--\n\nсохраняйте, пожалуйста, при ответе исходный текст письма\n\nС уважением,\nначальник отдела технической поддержки\nМосковского Еврейского Общинного Центра\nИшаяу Ластов\nтелефон: +7-495-645-05-16\nмоб      : +7-901-569-81-86\nс 12 до 18, с воскресенья по четверг\n"},{"id":"206531","messageId":"CACsJy8B8Cf95uqh4vgzHayhtajSUdtD3QXk6-wMGeAVkW94JpA@mail.gmail.com","threadId":"32589","inReplyTo":"CAJ52sWkf+ZkLUdLw1ornVt5E2af3w1YSqhkOajTWxvTPKvkAJg@mail.gmail.com","subject":"Re: git checkout doesn't work?","fromName":"Duy Nguyen","fromEmail":"pclouds@gmail.com","sentAt":"2013-01-11T12:52:52Z","receivedAt":"2013-01-11T12:52:52Z","isPatch":false,"sender":{"key":"pclouds@gmail.com","avatar":"https://avatars.githubusercontent.com/u/720?v=4"},"body":"On Fri, Jan 11, 2013 at 1:46 PM, Ishayahu Lastov <meoc-it@mail.ru> wrote:\n> This is my session on Win7 x64:\n> Microsoft Windows [Version 6.1.7601]\n> (c) Корпорация Майкрософт (Microsoft Corp.), 2009. Все права защищены.\n>\n> C:\\Dropbox\\Dropbox\\Wesnoth\\Apocryphs>cd Apokryphs.Orks\n>\n> C:\\Dropbox\\Dropbox\\Wesnoth\\Apocryphs\\Apokryphs.Orks>git status\n> # On branch master\n> # Your branch is behind 'origin/master' by 3 commits, and can be fast-forwarded.\n>\n> #\n> # Changes not staged for commit:\n> #   (use \"git add <file>...\" to update what will be committed)\n> #   (use \"git checkout -- <file>...\" to discard changes in working directory)\n> #\n> #       modified:   scenarios/01_NothernVillage.cfg\n> #\n> no changes added to commit (use \"git add\" and/or \"git commit -a\")\n>\n> C:\\Dropbox\\Dropbox\\Wesnoth\\Apocryphs\\Apokryphs.Orks>cd scenarios\n>\n> C:\\Dropbox\\Dropbox\\Wesnoth\\Apocryphs\\Apokryphs.Orks\\scenarios>git status\n> # On branch master\n> # Your branch is behind 'origin/master' by 3 commits, and can be fast-forwarded.\n>\n> #\n> # Changes not staged for commit:\n> #   (use \"git add <file>...\" to update what will be committed)\n> #   (use \"git checkout -- <file>...\" to discard changes in working directory)\n> #\n> #       modified:   01_NothernVillage.cfg\n> #\n> no changes added to commit (use \"git add\" and/or \"git commit -a\")\n>\n> C:\\Dropbox\\Dropbox\\Wesnoth\\Apocryphs\\Apokryphs.Orks\\scenarios>git checkout -- 01\n> _NothernVillage.cfg\n>\n> C:\\Dropbox\\Dropbox\\Wesnoth\\Apocryphs\\Apokryphs.Orks\\scenarios>git status\n> # On branch master\n> # Your branch is behind 'origin/master' by 3 commits, and can be fast-forwarded.\n>\n> #\n> # Changes not staged for commit:\n> #   (use \"git add <file>...\" to update what will be committed)\n> #   (use \"git checkout -- <file>...\" to discard changes in working directory)\n> #\n> #       modified:   01_NothernVillage.cfg\n> #\n> no changes added to commit (use \"git add\" and/or \"git commit -a\")\n>\n> C:\\Dropbox\\Dropbox\\Wesnoth\\Apocryphs\\Apokryphs.Orks\\scenarios>\n>\n> As I understand after last \"git checkout\" in \"git status\" I should see\n> that I gave no changes. It looks like an bug, isn't it?\n\nYeah, perhaps it's file attributes. What does this say?\n\ngit diff --summary --stat\n-- \nDuy\n\n-- \n*** Please reply-to-all at all times ***\n*** (do not pretend to know who is subscribed and who is not) ***\n*** Please avoid top-posting. ***\nThe msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free.\n\nYou received this message because you are subscribed to the Google\nGroups \"msysGit\" group.\nTo post to this group, send email to msysgit@googlegroups.com\nTo unsubscribe from this group, send email to\nmsysgit+unsubscribe@googlegroups.com\nFor more options, and view previous threads, visit this group at\nhttp://groups.google.com/group/msysgit?hl=en_US?hl=en\n"}]}