Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commit with dynamic text without interface #79

Open
lscheffler opened this issue Nov 23, 2017 · 3 comments
Open

Commit with dynamic text without interface #79

lscheffler opened this issue Nov 23, 2017 · 3 comments

Comments

@lscheffler
Copy link
Collaborator

A posibility to commit with a dynamic text without raising a additional window.

I do a lot of atomic commits just for progressive backup, there is no need for much more then a timestamp. :)

@DougHennig
Copy link
Owner

Since both Mercurial and Git require a commit message, we have to use something. Also, how would Project Explorer know that sometimes you want a commit message and sometimes you don't? How about if the Commit Message dialog appears but the editbox is filled with something generic like "Committing changes" and it's selected? That way, if you don't want to type something you just click OK and if you do want a commit message, you just type it.

@lscheffler
Copy link
Collaborator Author

How to decide?
A switch on version control props. (Bin2Text names it Auto commit but you mean something different on this)
I turn it off if I need, or I just commit and do later
git commit --amend on bash

git commit -a -m "line"1 -m "line2" .. -m "linex"
works pretty well

And if I like a dialog, then vi as it comes with git. Not everybodies taste, I guess.
You even can provide a template for it ....
Looks like there is a need for a hook that decides what to do.
-your dialog
-just do it
-raise vi via git commit
...?

@DougHennig
Copy link
Owner

This could be done with an option: Display Commit Dialog. If turned off, you have to specify text to use as the default message. It could contain placeholders such as {CommitTime} for a timestamp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants