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

Include Activity name in Git Commit Comment #61

Open
benhager opened this issue Jul 22, 2015 · 2 comments
Open

Include Activity name in Git Commit Comment #61

benhager opened this issue Jul 22, 2015 · 2 comments

Comments

@benhager
Copy link

Would there be a way to include both the Activity name and Check-in comment from ClearCase in the commit comment in Git??

Even if this isn't desired for the main project, I would appreciate any help in implementing this in my own fork.

@charleso
Copy link
Owner

@benhager This is for UCM obviously? For base Clearcase the comment was used to join multiple checkins in to a single git commit. For UCM I switched this to just the activity.

return '%[activity]p'

Which is used in the lshistory fmt string:

https://github.com/charleso/git-cc/blob/master/rebase.py#L18

And possibly change the parser:

https://github.com/charleso/git-cc/blob/master/rebase.py#L127

I hope this helps.

@charleso
Copy link
Owner

PS. I'm not against having the commit comment in the git commit - if you send me a PR I'm happy to take a look.

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

2 participants