From: Kaartic Sivaraam Date: Wed, 21 Jun 2017 14:35:14 GMT Subject: Re: [PATCH/FINAL] status: contextually notify user about an initial commit Message-ID: <1498055714.20886.1.camel@gmail.com> In-Reply-To: <20170621023729.3200-1-kaarticsivaraam91196@gmail.com> On Wed, 2017-06-21 at 08:07 +0530, Kaartic Sivaraam wrote: > The existing message, "Initial commit", makes sense for the commit > template > notifying users that it's their initial commit, but is confusing when > merely checking the status of a fresh repository (or orphan branch) > without having any commits yet. > > Change the output of "status" to say "No commits yet" when "git > status" is run on a fresh repo (or orphan branch), while retaining > the > current "Initial commit" message displayed in the template that's > displayed in the editor when the initial commit is being authored. > > A few alternatives considered were, > >  * Waiting for initial commit >  * Your current branch does not have any commits >  * Current branch waiting for initial commit > > The most succint one among the alternatives was chosen. > > Helped-by: Junio C Hamano > Signed-off-by: Kaartic Sivaraam > Signed-off-by: Ævar Arnfjörð Bjarmason > --- > >  The 'FINAL' part in the subject is just my opinion about  >  this patch > Just for the note, the tests passed locally and all travis-ci builds jobs succeeded except for the one in which the 'GITTEXT_POISON' environment variable is enabled. I guess that isn't an issue, from what I came to know while digging about it. -- Regards, Kaartic Sivaraam