{"thread":{"id":"17326","subject":"git blame: two \"-C\"s versus just a single -C","startedAt":"2009-01-23T11:28:59Z","lastAt":"2009-01-23T19:12:02Z","messageCount":2,"participants":["Sitaram Chamarty"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"101650","messageId":"slrngnjafr.iaa.sitaramc@sitaramc.homelinux.net","threadId":"17326","inReplyTo":null,"subject":"git blame: two \"-C\"s versus just a single -C","fromName":"Sitaram Chamarty","fromEmail":"sitaramc@gmail.com","sentAt":"2009-01-23T11:28:59Z","receivedAt":"2009-01-23T11:28:59Z","isPatch":false,"sender":{"key":"sitaramc@gmail.com","avatar":"https://avatars.githubusercontent.com/u/43316?v=4"},"body":"I seem to recall (and the docs indicate) that when you\n*copy* (not move, just copy) a function from file1.c to\nfile2.c, commit, and then do a \"git blame -C -C file2.c\", it\nshould tell you that those lines came from file1.c\n\nIs this not true?  Git 1.6.1, I tried this on a dummy branch\nwhere I just copied a good sized function (about 45 lines)\nfrom one C program and dumped it at the bottom of a second\none, and neither the gui blame nor the CLI blame show me\nthat the lines came from elsewhere.\n\nWhat am I doing wrong?\n"},{"id":"101680","messageId":"slrngnk5k2.49k.sitaramc@sitaramc.homelinux.net","threadId":"17326","inReplyTo":"slrngnjafr.iaa.sitaramc@sitaramc.homelinux.net","subject":"Re: git blame: two \"-C\"s versus just a single -C","fromName":"Sitaram Chamarty","fromEmail":"sitaramc@gmail.com","sentAt":"2009-01-23T19:12:02Z","receivedAt":"2009-01-23T19:12:02Z","isPatch":false,"sender":{"key":"sitaramc@gmail.com","avatar":"https://avatars.githubusercontent.com/u/43316?v=4"},"body":"On 2009-01-23, Sitaram Chamarty <sitaramc@gmail.com> wrote:\n> I seem to recall (and the docs indicate) that when you\n> *copy* (not move, just copy) a function from file1.c to\n> file2.c, commit, and then do a \"git blame -C -C file2.c\", it\n> should tell you that those lines came from file1.c\n>\n> Is this not true?  Git 1.6.1, I tried this on a dummy branch\n> where I just copied a good sized function (about 45 lines)\n> from one C program and dumped it at the bottom of a second\n> one, and neither the gui blame nor the CLI blame show me\n> that the lines came from elsewhere.\n>\n> What am I doing wrong?\n\n(replying to myself...)\n\nIt works when I give it three \"-C\" arguments.  I thought it\nwas supposed to be 2 though.\n"}]}