1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

6 Commits

Author SHA1 Message Date
Anand Sudhir Prayaga
c8b6eb2b60 Fix references to old Github repo location with new one 2018-11-28 14:47:06 +01:00
Chris Cummer
66b69471d0 Properly scope Config to the wtf package and remove it as a dependency from everywhere else 2018-06-16 14:59:22 -07:00
Bryan Austin
23783c4e90 Allow customization of git module's date and commit formats
The existing format for commit logs will remain the default, but
this change allows customization of the `--date=format:` and
`--pretty=format:` arguments passed to `git log`. For example, I
prefer having the time of day a commit was made, and having the
time in front, which can now be done with these options:
```
    git:
      dateFormat: "%H:%M %d %b %y"
      commitFormat: "[forestgreen]%h [grey]%cd [white]%s [grey]%an[white]"
```
(sorry, this doesn't update documentation - if you let me know
what files to edit for those and how to "build" the docs to update
them, I can try to do that better in future changes)
2018-06-15 14:19:26 -07:00
Bryan Austin
e2c1f793bf Fix newline in git module repo names breaking display
After setting up the git module with multiple repos and switching
between them, I observed some graphical wonkiness in the display:

https://i.imgur.com/R3e7eij.png

After adding some log statements, I tracked it down to the
`GitRepo.Repository` field having a newline in it after it's set
from a command execution's stdout. This change strips the
repository path of spaces when assigning to the `Repository` field,
which fixes the display issues.
2018-06-08 14:44:45 -07:00
Wilq
66c14a666d added git pull and checkout commands 2018-06-02 16:52:29 +02:00
Chris Cummer
44ccf8e55a First pass at multi-Git repos. Works; no tick marks yet 2018-04-18 09:07:41 -07:00