-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add test for repo commit command
Reference: #331
- Loading branch information
1 parent
ca51947
commit b022295
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# vi: set ft=conf | ||
|
||
# convert crlf to lf on windows | ||
[windows] dos2unix tree1.txt tree2.txt tree3.txt | ||
|
||
# create a repo | ||
soft repo import basic1 https://github.com/git-fixtures/basic | ||
|
||
# print commit | ||
soft repo commit basic1 b8e471f58bcbca63b07bda20e428190409c2db47 | ||
cmp stdout commit1.txt | ||
|
||
-- commit1.txt -- | ||
commit b8e471f58bcbca63b07bda20e428190409c2db47 | ||
Author: Daniel Ripolles | ||
Date: Tue Mar 31 07:44:52 EDT 2015 | ||
Creating changelog | ||
|
||
|
||
CHANGELOG | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/CHANGELOG b/CHANGELOG | ||
new file mode 100644 | ||
index 0000000000000000000000000000000000000000..d3ff53e0564a9f87d8e84b6e28e5060e517008aa | ||
--- /dev/null | ||
+++ b/CHANGELOG | ||
@@ -0,0 +1 @@ | ||
+Initial changelog | ||
|
File renamed without changes.