{"thread":{"id":"46118","subject":"What does this output of git supposed to mean ?","startedAt":"2017-06-05T14:04:22Z","lastAt":"2017-06-07T22:14:11Z","messageCount":17,"participants":["Kaartic Sivaraam","brian m. carlson","Stefan Beller","Junio C Hamano","Samuel Lijin","David","Philip Oakley","SZEDER Gábor","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"321535","messageId":"1496671452.4809.2.camel@gmail.com","threadId":"46118","inReplyTo":null,"subject":"What does this output of git supposed to mean ?","fromName":"Kaartic Sivaraam","fromEmail":"kaarticsivaraam91196@gmail.com","sentAt":"2017-06-05T14:04:12Z","receivedAt":"2017-06-05T14:04:22Z","isPatch":false,"sender":{"key":"kaartic.sivaraam@gmail.com","avatar":"https://avatars.githubusercontent.com/u/12448084?v=4"},"body":"Hello all,\n\nI noticed a weird output by git when trying to run 'git status' on a\nnewly initialized git repository. It prints the following,\n\n> On branch master\n> \n> Initial commit\n> \n> nothing to commit (create/copy files and use \"git add\" to track)\n\n\nWhat's that \"Initial commit\" supposed to mean?\n\n-- \nRegards,\nKaartic Sivaraam <kaarticsivaraam91196@gmail.com>\n"},{"id":"321573","messageId":"20170605231058.pgb4fgfb4z45bzmk@genre.crustytoothpaste.net","threadId":"46118","inReplyTo":"1496671452.4809.2.camel@gmail.com","subject":"Re: What does this output of git supposed to mean ?","fromName":"brian m. carlson","fromEmail":"sandals@crustytoothpaste.net","sentAt":"2017-06-05T23:10:58Z","receivedAt":"2017-06-05T23:11:11Z","isPatch":false,"sender":{"key":"sandals@crustytoothpaste.net","avatar":"https://avatars.githubusercontent.com/u/497054?v=4"},"body":"On Mon, Jun 05, 2017 at 07:34:12PM +0530, Kaartic Sivaraam wrote:\n> Hello all,\n> \n> I noticed a weird output by git when trying to run 'git status' on a\n> newly initialized git repository. It prints the following,\n> \n> > On branch master\n> > \n> > Initial commit\n> > \n> > nothing to commit (create/copy files and use \"git add\" to track)\n> \n> \n> What's that \"Initial commit\" supposed to mean?\n\nIt just means that it will be the first commit in the repository.  It's\na helpful reminder that some operations (such as git log) won't work as\nexpected.  In addition, many people want to commit certain files (such\nas .gitignore) in their initial commit, and this may jog their memory.\n-- \nbrian m. carlson / brian with sandals: Houston, Texas, US\nhttps://www.crustytoothpaste.net/~bmc | My opinion only\nOpenPGP: https://keybase.io/bk2204\n"},{"id":"321575","messageId":"CAGZ79kYp6GepJxZjaXhosX=vCh0vwa57+zFHK2gHFociiyTnDg@mail.gmail.com","threadId":"46118","inReplyTo":"20170605231058.pgb4fgfb4z45bzmk@genre.crustytoothpaste.net","subject":"Re: What does this output of git supposed to mean ?","fromName":"Stefan Beller","fromEmail":"sbeller@google.com","sentAt":"2017-06-05T23:18:22Z","receivedAt":"2017-06-05T23:18:28Z","isPatch":false,"sender":{"key":"stefanbeller@gmail.com","avatar":"https://avatars.githubusercontent.com/u/455868?v=4"},"body":"On Mon, Jun 5, 2017 at 4:10 PM, brian m. carlson\n<sandals@crustytoothpaste.net> wrote:\n> On Mon, Jun 05, 2017 at 07:34:12PM +0530, Kaartic Sivaraam wrote:\n>> Hello all,\n>>\n>> I noticed a weird output by git when trying to run 'git status' on a\n>> newly initialized git repository. It prints the following,\n>>\n>> > On branch master\n>> >\n>> > Initial commit\n>> >\n>> > nothing to commit (create/copy files and use \"git add\" to track)\n>>\n>>\n>> What's that \"Initial commit\" supposed to mean?\n>\n> It just means that it will be the first commit in the repository.  It's\n> a helpful reminder that some operations (such as git log) won't work as\n> expected.  In addition, many people want to commit certain files (such\n> as .gitignore) in their initial commit, and this may jog their memory.\n\nTangent:\n\nFor any personal project (or git repository that I start)\nI find myself doing one of the following:\n1) I think about implications of the git history. And from what I understand\n  there are a couple of issues with the very first commit (e.g.\n  interactive rebase needs special flags to start from the 0-th commit)\n\n  In this case I run git commit --allow-empty -m \"initial commit\"\n  first and then proceed doing whatever\n\n2. I do not think about history, so the first commit is a\n  git commit -a -m \"I made a shiny thing\", ignoring any advice\n  git gave me...\n\n\nOn the subject: maybe we want to rename initial commit\nto root commit? (evil-me also thinks we could name it\n\"parent-less commit\", to reinforce what the lovely git man\npage generator tries to point at.)\n"},{"id":"321584","messageId":"xmqqd1ai9bhf.fsf@gitster.mtv.corp.google.com","threadId":"46118","inReplyTo":"CAGZ79kYp6GepJxZjaXhosX=vCh0vwa57+zFHK2gHFociiyTnDg@mail.gmail.com","subject":"Re: What does this output of git supposed to mean ?","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2017-06-06T01:00:12Z","receivedAt":"2017-06-06T01:00:34Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Stefan Beller <sbeller@google.com> writes:\n\n> On the subject: maybe we want to rename initial commit\n> to root commit? (evil-me also thinks we could name it\n> \"parent-less commit\", to reinforce what the lovely git man\n> page generator tries to point at.)\n\nIs \"initial\" harder to understand than \"root\" or \"parent-less\"?\n"},{"id":"321586","messageId":"20170606011151.qe5ycih77vqlqgme@genre.crustytoothpaste.net","threadId":"46118","inReplyTo":"xmqqd1ai9bhf.fsf@gitster.mtv.corp.google.com","subject":"Re: What does this output of git supposed to mean ?","fromName":"brian m. carlson","fromEmail":"sandals@crustytoothpaste.net","sentAt":"2017-06-06T01:11:52Z","receivedAt":"2017-06-06T01:12:02Z","isPatch":false,"sender":{"key":"sandals@crustytoothpaste.net","avatar":"https://avatars.githubusercontent.com/u/497054?v=4"},"body":"On Tue, Jun 06, 2017 at 10:00:12AM +0900, Junio C Hamano wrote:\n> Stefan Beller <sbeller@google.com> writes:\n> \n> > On the subject: maybe we want to rename initial commit\n> > to root commit? (evil-me also thinks we could name it\n> > \"parent-less commit\", to reinforce what the lovely git man\n> > page generator tries to point at.)\n> \n> Is \"initial\" harder to understand than \"root\" or \"parent-less\"?\n\nI personally think that \"Initial commit\" is very straightforward.  If we\nget more inquiries about it, we could consider changing it, but seeing\nas this is the first question I've ever seen about it, I think most\npeople understand it pretty well.\n-- \nbrian m. carlson / brian with sandals: Houston, Texas, US\nhttps://www.crustytoothpaste.net/~bmc | My opinion only\nOpenPGP: https://keybase.io/bk2204\n"},{"id":"321590","messageId":"CAJZjrdWoK__rZVCG3vRSSEOPgxK7b_wWjpJ3YUQcLxw+J8KfGQ@mail.gmail.com","threadId":"46118","inReplyTo":"20170606011151.qe5ycih77vqlqgme@genre.crustytoothpaste.net","subject":"Re: What does this output of git supposed to mean ?","fromName":"Samuel Lijin","fromEmail":"sxlijin@gmail.com","sentAt":"2017-06-06T01:39:52Z","receivedAt":"2017-06-06T01:40:38Z","isPatch":false,"sender":{"key":"sxlijin@gmail.com","avatar":"https://gravatar.com/avatar/01777bf1eae64e2b4dca97dcac182a6abbcf6fd8cb4d5b8fa33edf9f8cc21746?d=mp&s=160"},"body":"On Mon, Jun 5, 2017 at 9:11 PM, brian m. carlson\n<sandals@crustytoothpaste.net> wrote:\n> On Tue, Jun 06, 2017 at 10:00:12AM +0900, Junio C Hamano wrote:\n>> Stefan Beller <sbeller@google.com> writes:\n>>\n>> > On the subject: maybe we want to rename initial commit\n>> > to root commit? (evil-me also thinks we could name it\n>> > \"parent-less commit\", to reinforce what the lovely git man\n>> > page generator tries to point at.)\n>>\n>> Is \"initial\" harder to understand than \"root\" or \"parent-less\"?\n>\n> I personally think that \"Initial commit\" is very straightforward.  If we\n> get more inquiries about it, we could consider changing it, but seeing\n> as this is the first question I've ever seen about it, I think most\n> people understand it pretty well.\n\nFor what it's worth, I've never quite understood the \"Initial commit\"\nmessage, because the repository is in a state where there are no\ncommits yet, not when HEAD is pointing to a root commit.\n"},{"id":"321591","messageId":"xmqqvao9991r.fsf@gitster.mtv.corp.google.com","threadId":"46118","inReplyTo":"CAJZjrdWoK__rZVCG3vRSSEOPgxK7b_wWjpJ3YUQcLxw+J8KfGQ@mail.gmail.com","subject":"Re: What does this output of git supposed to mean ?","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2017-06-06T01:52:48Z","receivedAt":"2017-06-06T01:52:56Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Samuel Lijin <sxlijin@gmail.com> writes:\n\n> For what it's worth, I've never quite understood the \"Initial commit\"\n> message, because the repository is in a state where there are no\n> commits yet, not when HEAD is pointing to a root commit.\n\nAh, that is true.  The message in the \"status\" output attempts to\ntell you that you are about to make the \"initial commit\", because\n\"status\" was not originally a thing (it was just the message when\n\"git commit\" gives you while you compose the commit log message).\n\nIn the context of \"status\", it probably is more logically correct if\nit said \"No commit yet\" or something.  This is no longer \"is initial\nharder than root?\" ;-)\n\n"},{"id":"321592","messageId":"CAMPXz=oorE7MQa4a_1eC-+Huf1Tf2XQFjEBcQxsOdso9BJ1S-A@mail.gmail.com","threadId":"46118","inReplyTo":"xmqqvao9991r.fsf@gitster.mtv.corp.google.com","subject":"Re: What does this output of git supposed to mean ?","fromName":"David","fromEmail":"bouncingcats@gmail.com","sentAt":"2017-06-06T02:06:37Z","receivedAt":"2017-06-06T02:06:44Z","isPatch":false,"sender":{"key":"bouncingcats@gmail.com","avatar":null},"body":"On 6 June 2017 at 11:52, Junio C Hamano <gitster@pobox.com> wrote:\n> Samuel Lijin <sxlijin@gmail.com> writes:\n>\n>> For what it's worth, I've never quite understood the \"Initial commit\"\n>> message, because the repository is in a state where there are no\n>> commits yet, not when HEAD is pointing to a root commit.\n>\n> In the context of \"status\", it probably is more logically correct if\n> it said \"No commit yet\" or something.  This is no longer \"is initial\n> harder than root?\" ;-)\n\nExactly. I agree with OP, in the context of running 'git status', I find\nthe string \"Initial commit\" confusing in the example below, because\nat that time no commits exist. This creates confusion what git is\ntalking about. The 'git log' message is not very friendly either.\n\nPerhaps say something like \"Repository is empty.\" there.\n\n$ mkdir test\n$ cd test\n$ git init\nInitialized empty Git repository in /mnt/hart/home/david_d08/junk/test/.git/\n$ git log\nfatal: bad default revision 'HEAD'\n$ git status\nOn branch master\n\nInitial commit\n\nnothing to commit (create/copy files and use \"git add\" to track)\n"},{"id":"321608","messageId":"D0E8FF50F1E74043AA0BD71E80C365E5@PhilipOakley","threadId":"46118","inReplyTo":"CAMPXz=oorE7MQa4a_1eC-+Huf1Tf2XQFjEBcQxsOdso9BJ1S-A@mail.gmail.com","subject":"Re: What does this output of git supposed to mean ?","fromName":"Philip Oakley","fromEmail":"philipoakley@iee.org","sentAt":"2017-06-06T11:07:21Z","receivedAt":"2017-06-06T11:06:21Z","isPatch":false,"sender":{"key":"philipoakley@iee.email","avatar":"https://avatars.githubusercontent.com/u/914343?v=4"},"body":"From: \"David\" <bouncingcats@gmail.com>\n> On 6 June 2017 at 11:52, Junio C Hamano <gitster@pobox.com> wrote:\n>> Samuel Lijin <sxlijin@gmail.com> writes:\n>>\n>>> For what it's worth, I've never quite understood the \"Initial commit\"\n>>> message, because the repository is in a state where there are no\n>>> commits yet, not when HEAD is pointing to a root commit.\n>>\n>> In the context of \"status\", it probably is more logically correct if\n>> it said \"No commit yet\" or something.  This is no longer \"is initial\n>> harder than root?\" ;-)\n>\n> Exactly. I agree with OP, in the context of running 'git status', I find\n> the string \"Initial commit\" confusing in the example below, because\n> at that time no commits exist. This creates confusion what git is\n> talking about. The 'git log' message is not very friendly either.\n>\n> Perhaps say something like \"Repository is empty.\" there.\n\n<bikeshed>\nI like that. I think that is a very appropriately descriptive statement.\n\nAn alternative ,with slightly less textual change, could be \"Waiting for \ninitial commit\"\n</bikeshed>\n\n>\n> $ mkdir test\n> $ cd test\n> $ git init\n> Initialized empty Git repository in \n> /mnt/hart/home/david_d08/junk/test/.git/\n> $ git log\n> fatal: bad default revision 'HEAD'\n> $ git status\n> On branch master\n>\n> Initial commit\n>\n> nothing to commit (create/copy files and use \"git add\" to track) \n\n"},{"id":"321609","messageId":"20170606114355.30749-1-szeder.dev@gmail.com","threadId":"46118","inReplyTo":"D0E8FF50F1E74043AA0BD71E80C365E5@PhilipOakley","subject":"Re: What does this output of git supposed to mean ?","fromName":"SZEDER Gábor","fromEmail":"szeder.dev@gmail.com","sentAt":"2017-06-06T11:43:55Z","receivedAt":"2017-06-06T11:45:12Z","isPatch":false,"sender":{"key":"szeder.dev@gmail.com","avatar":"https://avatars.githubusercontent.com/u/116324?v=4"},"body":"\n> >> In the context of \"status\", it probably is more logically correct if\n> >> it said \"No commit yet\" or something.  This is no longer \"is initial\n> >> harder than root?\" ;-)\n> >\n> > Exactly. I agree with OP, in the context of running 'git status', I find\n> > the string \"Initial commit\" confusing in the example below, because\n> > at that time no commits exist. This creates confusion what git is\n> > talking about. The 'git log' message is not very friendly either.\n> >\n> > Perhaps say something like \"Repository is empty.\" there.\n> \n> <bikeshed>\n> I like that. I think that is a very appropriately descriptive statement.\n> \n> An alternative ,with slightly less textual change, could be \"Waiting for \n> initial commit\"\n> </bikeshed>\n\nWe should consider orphan/unborn branches, too:\n\n  git (master)$ git checkout --orphan newroot\n  Switched to a new branch 'newroot'\n  git (newroot +)$ git reset --hard\n  git (newroot #)$ git status\n  On branch newroot\n  \n  Initial commit\n  \n  nothing to commit (create/copy files and use \"git add\" to track)\n\nA purely textual change will not be sufficient, I'm afraid.  Saying\n\"Repository is empty\" right after 'git init' is fine, I like it.\nHowever, on an unborn branch with empty index it would be just wrong.\n\n\"Waiting for initial commit\" is much better even in this case, but I\nstill don't like that \"initial\", though I can't say why, and don't\nhave any better suggestion either.  Though users experienced enough to\ncreate an empty unborn branch would probably not be confused by that.\n\n"},{"id":"321610","messageId":"xmqqr2yx8h9v.fsf@gitster.mtv.corp.google.com","threadId":"46118","inReplyTo":"D0E8FF50F1E74043AA0BD71E80C365E5@PhilipOakley","subject":"Re: What does this output of git supposed to mean ?","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2017-06-06T11:52:44Z","receivedAt":"2017-06-06T11:52:52Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"\"Philip Oakley\" <philipoakley@iee.org> writes:\n\n> From: \"David\" <bouncingcats@gmail.com>\n>\n>> Perhaps say something like \"Repository is empty.\" there.\n>\n> <bikeshed>\n> I like that. I think that is a very appropriately descriptive statement.\n>\n> An alternative ,with slightly less textual change, could be \"Waiting\n> for initial commit\"\n> </bikeshed>\n\nI can buy that one.  \n\nI do not want to see \"Repository is empty\", as that will open us up\nto criticism that we are being sloppy and technically incorrect to\ncater to newbies (i.e. we will give the message if you do \"checkout\n--orphan\", and repository is definitely not empty in that case).\n\n\"Waiting for the initial commit\", or \"No commits yet\", can be\nexplained to describe the state of the current branch (not the state\nof the repository), and it is correct that we do not have any commit\non the branch, and the branch is waiting for the initial commit.\n\n"},{"id":"321619","messageId":"1496758102.6664.2.camel@gmail.com","threadId":"46118","inReplyTo":"xmqqr2yx8h9v.fsf@gitster.mtv.corp.google.com","subject":"Re: What does this output of git supposed to mean ?","fromName":"Kaartic Sivaraam","fromEmail":"kaarticsivaraam91196@gmail.com","sentAt":"2017-06-06T14:08:22Z","receivedAt":"2017-06-06T14:11:10Z","isPatch":false,"sender":{"key":"kaartic.sivaraam@gmail.com","avatar":"https://avatars.githubusercontent.com/u/12448084?v=4"},"body":"On Tue, 2017-06-06 at 20:52 +0900, Junio C Hamano wrote:\n> \"Waiting for the initial commit\", or \"No commits yet\", can be\n> explained to describe the state of the current branch (not the state\n> of the repository), and it is correct that we do not have any commit\n> on the branch, and the branch is waiting for the initial commit.\n> \nLooks descriptive to me too. Just for the note, I wouldn't have asked\nthis question if `git status` showed a message like this.\n\n-- \nRegards,\nKaartic Sivaraam <kaarticsivaraam91196@gmail.com>\n"},{"id":"321636","messageId":"20170606184200.4xohdrwxqqvxgkr7@sigill.intra.peff.net","threadId":"46118","inReplyTo":"20170606114355.30749-1-szeder.dev@gmail.com","subject":"Re: What does this output of git supposed to mean ?","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2017-06-06T18:42:01Z","receivedAt":"2017-06-06T18:45:21Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Tue, Jun 06, 2017 at 01:43:55PM +0200, SZEDER Gábor wrote:\n\n> > An alternative ,with slightly less textual change, could be \"Waiting for \n> > initial commit\"\n> > </bikeshed>\n> \n> We should consider orphan/unborn branches, too:\n> \n>   git (master)$ git checkout --orphan newroot\n>   Switched to a new branch 'newroot'\n>   git (newroot +)$ git reset --hard\n>   git (newroot #)$ git status\n>   On branch newroot\n>   \n>   Initial commit\n>   \n>   nothing to commit (create/copy files and use \"git add\" to track)\n> \n> A purely textual change will not be sufficient, I'm afraid.  Saying\n> \"Repository is empty\" right after 'git init' is fine, I like it.\n> However, on an unborn branch with empty index it would be just wrong.\n> \n> \"Waiting for initial commit\" is much better even in this case, but I\n> still don't like that \"initial\", though I can't say why, and don't\n> have any better suggestion either.  Though users experienced enough to\n> create an empty unborn branch would probably not be confused by that.\n\nI agree. If the state we are describing is limited to the current\nbranch, how about saying so? Like \"Your current branch has no commits\".\n\n-Peff\n"},{"id":"321639","messageId":"20170606185324.ocedi4e3teqi3ayk@sigill.intra.peff.net","threadId":"46118","inReplyTo":"20170606184200.4xohdrwxqqvxgkr7@sigill.intra.peff.net","subject":"Re: What does this output of git supposed to mean ?","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2017-06-06T18:53:24Z","receivedAt":"2017-06-06T18:53:30Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Tue, Jun 06, 2017 at 02:42:01PM -0400, Jeff King wrote:\n\n> > \"Waiting for initial commit\" is much better even in this case, but I\n> > still don't like that \"initial\", though I can't say why, and don't\n> > have any better suggestion either.  Though users experienced enough to\n> > create an empty unborn branch would probably not be confused by that.\n> \n> I agree. If the state we are describing is limited to the current\n> branch, how about saying so? Like \"Your current branch has no commits\".\n\nActually, something like \"does not yet have any commits\" might be\nbetter.\n\nThere is a slight complication, though. There's similar text in \"git\nstatus -sb\", which shows:\n\n  ## Initial commit on master\n\nShould that also change to use consistent terminology? If so, we need a\nphrasing short phrasing that matches (and the --porcelain and\n--porcelain=v2 formats of course would need to remain the same).\n\n-Peff\n"},{"id":"321649","messageId":"4A4DB115A50D432A8FF7B8589C5BAC84@PhilipOakley","threadId":"46118","inReplyTo":"1496758102.6664.2.camel@gmail.com","subject":"Re: What does this output of git supposed to mean ?","fromName":"Philip Oakley","fromEmail":"philipoakley@iee.org","sentAt":"2017-06-06T22:05:34Z","receivedAt":"2017-06-06T22:04:16Z","isPatch":false,"sender":{"key":"philipoakley@iee.email","avatar":"https://avatars.githubusercontent.com/u/914343?v=4"},"body":"From: \"Kaartic Sivaraam\" <kaarticsivaraam91196@gmail.com>\n> On Tue, 2017-06-06 at 20:52 +0900, Junio C Hamano wrote:\n>> \"Waiting for the initial commit\", or \"No commits yet\", can be\n>> explained to describe the state of the current branch (not the state\n>> of the repository), and it is correct that we do not have any commit\n>> on the branch, and the branch is waiting for the initial commit.\n>>\n> Looks descriptive to me too. Just for the note, I wouldn't have asked\n> this question if `git status` showed a message like this.\n>\n\nMaybe have a try at a patch to update the text? See the \ngit/Documentation/SubmittingPatches for guidance.\n\n> -- \n> Regards,\n> Kaartic Sivaraam <kaarticsivaraam91196@gmail.com> \n\n"},{"id":"321675","messageId":"2d7e165d-b44c-ab3c-a4db-af5df64048a9@gmail.com","threadId":"46118","inReplyTo":"4A4DB115A50D432A8FF7B8589C5BAC84@PhilipOakley","subject":"Re: What does this output of git supposed to mean ?","fromName":"Kaartic Sivaraam","fromEmail":"kaarticsivaraam91196@gmail.com","sentAt":"2017-06-07T12:56:47Z","receivedAt":"2017-06-07T12:57:00Z","isPatch":false,"sender":{"key":"kaartic.sivaraam@gmail.com","avatar":"https://avatars.githubusercontent.com/u/12448084?v=4"},"body":"On Wednesday 07 June 2017 03:35 AM, Philip Oakley wrote:\n> Maybe have a try at a patch to update the text? See the \n> git/Documentation/SubmittingPatches for guidance.\nI guess this should be trivial (correct me if I'm wrong). I'll try when \nI find time. In case I make the change which of the following message \nshould replace the message 'Initial commit' ? (this could be a poll, I \nguess)\n\n1. No commit yet\n2. Waiting for initial commit\n3. Your current branch does not have any commits\n\nFurther what is to be done about the following comment,\n\nOn Wednesday 07 June 2017 12:23 AM, Jeff King wrote:\n\nThere is a slight complication, though. There's similar text in \"git \nstatus -sb\", which shows: ## Initial commit on master Should that also \nchange to use consistent terminology? If so, we need a phrasing short \nphrasing that matches (and the --porcelain and --porcelain=v2 formats of \ncourse would need to remain the same).\n\nBTW, could anyone provide a pointer to the implementation that prints \nthis message ?\n\n--\nRegards,\nKaartic Sivaraam\n"},{"id":"321716","messageId":"6500B5D478934FE1A5EB49F6B936BF80@PhilipOakley","threadId":"46118","inReplyTo":"2d7e165d-b44c-ab3c-a4db-af5df64048a9@gmail.com","subject":"Re: What does this output of git supposed to mean ?","fromName":"Philip Oakley","fromEmail":"philipoakley@iee.org","sentAt":"2017-06-07T22:14:04Z","receivedAt":"2017-06-07T22:14:11Z","isPatch":false,"sender":{"key":"philipoakley@iee.email","avatar":"https://avatars.githubusercontent.com/u/914343?v=4"},"body":"From: \"Kaartic Sivaraam\" <kaarticsivaraam91196@gmail.com>\n> On Wednesday 07 June 2017 03:35 AM, Philip Oakley wrote:\n>> Maybe have a try at a patch to update the text? See the \n>> git/Documentation/SubmittingPatches for guidance.\n> I guess this should be trivial (correct me if I'm wrong). I'll try when I \n> find time. In case I make the change which of the following message should \n> replace the message 'Initial commit' ? (this could be a poll, I guess)\n>\n> 1. No commit yet\n> 2. Waiting for initial commit\n> 3. Your current branch does not have any commits\n\n2, or 3, or a mix of the two \"current branch waiting for initial commit\" \nmaybe.\n\n>\n> Further what is to be done about the following comment,\n>\n> On Wednesday 07 June 2017 12:23 AM, Jeff King wrote:\n>\n> There is a slight complication, though. There's similar text in \"git \n> status -sb\", which shows: ## Initial commit on master Should that also \n> change to use consistent terminology? If so, we need a phrasing short \n> phrasing that matches (and the --porcelain and --porcelain=v2 formats of \n> course would need to remain the same).\n>\n> BTW, could anyone provide a pointer to the implementation that prints this \n> message ?\n\nI think the two messages are in wt-status.c with the simple \"Initial commit\" \nat ~L1560, while ~L1728 has the \"Initial commit on\" line.\n\nPhilip\n\n\n>\n> --\n> Regards,\n> Kaartic Sivaraam \n\n"}]}