diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-04-29 08:16:10 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-04-29 09:07:04 +0300 |
commit | eed62b29f55e02ea84a4b470651d5c7247633d20 (patch) | |
tree | 85c33bdcad0e7f65cd2fedc8a8677368ed564186 /jt.md | |
parent | fdf77e57306f83672253f15e78ceaaadebfb0dec (diff) | |
download | jt2-eed62b29f55e02ea84a4b470651d5c7247633d20.tar.gz |
feat: make a journal a git repository and commit new entries
Diffstat (limited to 'jt.md')
-rw-r--r-- | jt.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -130,6 +130,7 @@ given an installed jt when I run jt2 --dirname jrnl init default "My test journal" then command is successful and directory jrnl exists +then there are no uncommitted changes in jrnl when I run jt2 --dirname jrnl is-journal then command is successful @@ -169,6 +170,7 @@ and file name <FILE> ends with .mdwn and journal entry <FILE> contains "Abracadabra" and journal entry <FILE> contains "Open sesame!" and there are no drafts in jrnl +and there are no uncommitted changes in jrnl ~~~ ~~~{#append.sh .file .numberLines} @@ -219,6 +221,7 @@ then there are two journal entries in jrnl, at FILE1 and FILE2 then journal entry <FILE1> contains "Abracadabra" then journal entry <FILE2> contains "Simsalabim" then there are no drafts in jrnl +then there are no uncommitted changes in jrnl ~~~ @@ -265,6 +268,7 @@ then stderr contains "foo" when I run jt2 --editor=none --dirname=jrnl new-topic foo "Things about Foo" then command is successful then file jrnl/foo.mdwn contains "Things about Foo" +then there are no uncommitted changes in jrnl when I run jt2 --editor=none --dirname=jrnl new --topic foo "Abracadabra" then command is successful |