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

Auto-generate commit message for checkintool #23

Closed
JeremySkinner opened this issue Mar 2, 2011 · 7 comments
Closed

Auto-generate commit message for checkintool #23

JeremySkinner opened this issue Mar 2, 2011 · 7 comments

Comments

@JeremySkinner
Copy link

Not sure how feasible this would be, but it would be useful if there was a way to pre-populate the checkintool with the commit messages from previous git commits on the current branch (since the last TFS checkin).

@spraints
Copy link
Member

spraints commented Mar 2, 2011

This shouldn't be too hard. I actually just nuked the code (the change to GetParentTfsCommits in 4e2c348) that would have made this really easy, but it should be pretty easy to add back in.

@rbanks54
Copy link
Contributor

rbanks54 commented Mar 2, 2011

I've added this myself so that "git tfs ct" pulls the messages in for you automatically. Matt, do you want to just grab the code from my fork or do you want me to send you a pull request?

@spraints
Copy link
Member

spraints commented Mar 3, 2011

either one is fine.

@spraints
Copy link
Member

spraints commented Mar 3, 2011

rbanks54 -- I'm grabbing it from your fork. I hope to have time tomorrow to get it done.

@spraints
Copy link
Member

spraints commented Mar 4, 2011

Take a look at 44d6f40 ... I incorporated Richard's patch, and added a command switch. "git tfs help checkintool" will show you that you can do "git tfs checkintool --build-default-comment".

@JeremySkinner
Copy link
Author

Brilliant - looks good.

@spraints
Copy link
Member

spraints commented Mar 4, 2011

.

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

No branches or pull requests

3 participants