On Saturday, December 09, 2017 11:32:32 PM Russ P wrote:
> How would it be implemented? I suppose it would be done by the build
> system. I am using Scala and sbt. Could sbt be made to automatically do a
> commit every time it builds successfully? I don't see why not. Heck, maybe
> it has that feature already and I just don't know it! And perhaps git could
> allow for "minor" commits without a comment. At least that would allow
> someone like me to locate a bug easier. What do you think?

As someone who hasn't done much development in the last 20 years, I think it 
is a great idea.  (I do write a lot of text documents, and often fail to make 
an interim save and later regret it (for any of a number of reasons).)

As far as a comment, without having used git extensively or recently (maybe 
3-4 years ago), I think some sort of automatic  comment would be useful, 
something like:

"20171210, 07:08, nn.nn.n:8" 

The nn.nn.n:8 meaning the 8th automatic commit (on a compile) after named 
branch nn.nn.n)"

Or something similar for any named commit (not necessarily a branch.

I know that some or all of that information is fairly easily available, but, 
for me, to be able to see it as a comment often seems more convenient.

I think it would also be useful to be able to easily force an "interim" auto 
commit if you've made extensive (or difficult) changes without doing a 
compilation.

"20171210, 07:08, nn.nn.n:8:3" 

The nn.nn.n:8:3 meaning the 3rd interim commit after the 8th automatic commit 
(on a compile) after named branch nn.nn.n)"

And, in both cases, git could prompt optional for additional comments (to be 
added after the automatic commit message).

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to