Add the current branch git summary#1034
Add the current branch git summary#1034spacewander merged 1 commit intotj:masterfrom guenhter:add-current-branch-to-summary
Conversation
There was a problem hiding this comment.
We need to update the non-output-style version too.
There was a problem hiding this comment.
Sorry. This slipped through. It is not updated. I double checked all locations and the branch is not contained everywhere.
There was a problem hiding this comment.
Look like we need to escape the branch name, as it can contain /
There was a problem hiding this comment.
Do you mean by "escape" to just put it withing double quotes?
On the other hand, is it a problem if the branch name contains a /, because it is anyway just some output...
There was a problem hiding this comment.
I wonder if we escape the /, can awk or column handle it correctly?
There was a problem hiding this comment.
I guess if you want to awk this line, you always can use / (space before and after) to distinguish it from slashes in a text
There was a problem hiding this comment.
Maybe we can mention the space before and after in the doc?
There was a problem hiding this comment.
Done. I mentioned the separator for the tabular and the oneline option in the documentation and also that they are surrounded by spaces.
|
Would you solve the conflict? Thanks! |
|
Done. |
spacewander
left a comment
There was a problem hiding this comment.
You can use git ignore -g to ignore .idea files.
https://github.com/tj/git-extras/blob/master/man/git-ignore.md
|
Sorry for committing .idea again. It's gone now. |
Simply adds the current branch name to the summary output.