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

FR: git-standup #523

Closed
hemanth opened this issue Apr 12, 2016 · 5 comments
Closed

FR: git-standup #523

hemanth opened this issue Apr 12, 2016 · 5 comments

Comments

@hemanth
Copy link
Collaborator

hemanth commented Apr 12, 2016

What say @spacewander ?

@spacewander
Copy link
Collaborator

What's the difference with git init?

@StevenBlack
Copy link

@spacewander See https://github.com/kamranahmedse/git-standup

@spacewander
Copy link
Collaborator

Working on...will get it done in this week.

@pathikrit
Copy link

Excellent work @spacewander . Is it also possible to make yesterday also show results for Friday, Saturday and Sunday on a Monday? I have a POC that does that: https://gist.github.com/pathikrit/fb75ba009960c4ed9ddf . I think the implementation by @kamranahmedse posted above also does that (with additional config for custom work weeks e.g. in Middle East).

@spacewander
Copy link
Collaborator

@pathikrit You may need to build the since argument from a subshell:

git standup $(git config --get user.name) "$(if [[ "Mon" == "$(LC_ALL=C date +%a)" ]]; then echo "last friday"; else echo "yesterday"; fi)"

@hemanth hemanth closed this as completed Apr 22, 2016
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

4 participants