summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAndrew Hynes <andrew.hynes@colabsoftware.com>2022-10-06 22:53:13 -0230
committerAndrew Hynes <andrew.hynes@colabsoftware.com>2022-10-06 22:53:13 -0230
commita30d924afe8e996dd0517bc70855803858efc362 (patch)
treef1756b6c9fe692ec21e5bc74c79dcd6283008571 /test
parentf4c188fa5b069a1d0714dc9508cecfa55eaddf46 (diff)
test: add test for stash including untracked files
Diffstat (limited to 'test')
-rw-r--r--test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/COMMIT_EDITMSG1
-rw-r--r--test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/FETCH_HEAD0
-rw-r--r--test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/HEAD1
-rw-r--r--test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/ORIG_HEAD1
-rw-r--r--test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/config12
-rw-r--r--test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/description1
-rw-r--r--test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/indexbin0 -> 65 bytes
-rw-r--r--test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/info/exclude6
-rw-r--r--test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/logs/HEAD2
-rw-r--r--test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/logs/refs/heads/master1
-rw-r--r--test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/logs/refs/stash1
-rw-r--r--test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/18/77c1658e50742642146b3bbb24c6b8635c7b64bin0 -> 51 bytes
-rw-r--r--test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/4b/825dc642cb6eb9a060e54bf8d69288fbee4904bin0 -> 15 bytes
-rw-r--r--test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/6b/584e8ece562ebffc15d38808cd6b98fc3d97eabin0 -> 22 bytes
-rw-r--r--test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/9d/49589525f6c37d177a53a57d82603a22de6076bin0 -> 170 bytes
-rw-r--r--test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/b8/eb39e727d4ac91542d57faa0bea0458c2d30e32
-rw-r--r--test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/d2/5b2c8a3d20c1b1884fbf1c87aa2014dd99ed7fbin0 -> 122 bytes
-rw-r--r--test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/dd/e611c48bd5d6df4157b99f524929851b07eca9bin0 -> 51 bytes
-rw-r--r--test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/f8/528a899ebb020e575e007426baa4535207a2142
-rw-r--r--test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/refs/heads/master1
-rw-r--r--test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/refs/stash1
21 files changed, 32 insertions, 0 deletions
diff --git a/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/COMMIT_EDITMSG b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/COMMIT_EDITMSG
new file mode 100644
index 000000000..802607664
--- /dev/null
+++ b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/COMMIT_EDITMSG
@@ -0,0 +1 @@
+initial commit
diff --git a/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/FETCH_HEAD b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/FETCH_HEAD
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/FETCH_HEAD
diff --git a/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/HEAD b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/HEAD
new file mode 100644
index 000000000..cb089cd89
--- /dev/null
+++ b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/HEAD
@@ -0,0 +1 @@
+ref: refs/heads/master
diff --git a/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/ORIG_HEAD b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/ORIG_HEAD
new file mode 100644
index 000000000..4ee40e25d
--- /dev/null
+++ b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/ORIG_HEAD
@@ -0,0 +1 @@
+d25b2c8a3d20c1b1884fbf1c87aa2014dd99ed7f
diff --git a/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/config b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/config
new file mode 100644
index 000000000..8a748ce32
--- /dev/null
+++ b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/config
@@ -0,0 +1,12 @@
+[core]
+ repositoryformatversion = 0
+ filemode = true
+ bare = false
+ logallrefupdates = true
+ ignorecase = true
+ precomposeunicode = true
+[user]
+ email = CI@example.com
+ name = CI
+[commit]
+ gpgSign = false
diff --git a/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/description b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/description
new file mode 100644
index 000000000..498b267a8
--- /dev/null
+++ b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/description
@@ -0,0 +1 @@
+Unnamed repository; edit this file 'description' to name the repository.
diff --git a/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/index b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/index
new file mode 100644
index 000000000..65d675154
--- /dev/null
+++ b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/index
Binary files differ
diff --git a/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/info/exclude b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/info/exclude
new file mode 100644
index 000000000..a5196d1be
--- /dev/null
+++ b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/info/exclude
@@ -0,0 +1,6 @@
+# git ls-files --others --exclude-from=.git/info/exclude
+# Lines that start with '#' are comments.
+# For a project mostly in C, the following would be a good set of
+# exclude patterns (uncomment them if you want to use them):
+# *.[oa]
+# *~
diff --git a/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/logs/HEAD b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/logs/HEAD
new file mode 100644
index 000000000..e8dcfb6d1
--- /dev/null
+++ b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/logs/HEAD
@@ -0,0 +1,2 @@
+0000000000000000000000000000000000000000 d25b2c8a3d20c1b1884fbf1c87aa2014dd99ed7f CI <CI@example.com> 1665105632 -0230 commit (initial): initial commit
+d25b2c8a3d20c1b1884fbf1c87aa2014dd99ed7f d25b2c8a3d20c1b1884fbf1c87aa2014dd99ed7f CI <CI@example.com> 1665105633 -0230 reset: moving to HEAD
diff --git a/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/logs/refs/heads/master b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/logs/refs/heads/master
new file mode 100644
index 000000000..df042a3dd
--- /dev/null
+++ b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/logs/refs/heads/master
@@ -0,0 +1 @@
+0000000000000000000000000000000000000000 d25b2c8a3d20c1b1884fbf1c87aa2014dd99ed7f CI <CI@example.com> 1665105632 -0230 commit (initial): initial commit
diff --git a/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/logs/refs/stash b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/logs/refs/stash
new file mode 100644
index 000000000..335d6aab8
--- /dev/null
+++ b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/logs/refs/stash
@@ -0,0 +1 @@
+0000000000000000000000000000000000000000 b8eb39e727d4ac91542d57faa0bea0458c2d30e3 CI <CI@example.com> 1665105633 -0230 On master: stash name
diff --git a/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/18/77c1658e50742642146b3bbb24c6b8635c7b64 b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/18/77c1658e50742642146b3bbb24c6b8635c7b64
new file mode 100644
index 000000000..c5ff32d89
--- /dev/null
+++ b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/18/77c1658e50742642146b3bbb24c6b8635c7b64
Binary files differ
diff --git a/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/4b/825dc642cb6eb9a060e54bf8d69288fbee4904 b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/4b/825dc642cb6eb9a060e54bf8d69288fbee4904
new file mode 100644
index 000000000..adf64119a
--- /dev/null
+++ b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/4b/825dc642cb6eb9a060e54bf8d69288fbee4904
Binary files differ
diff --git a/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/6b/584e8ece562ebffc15d38808cd6b98fc3d97ea b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/6b/584e8ece562ebffc15d38808cd6b98fc3d97ea
new file mode 100644
index 000000000..ec9764eae
--- /dev/null
+++ b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/6b/584e8ece562ebffc15d38808cd6b98fc3d97ea
Binary files differ
diff --git a/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/9d/49589525f6c37d177a53a57d82603a22de6076 b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/9d/49589525f6c37d177a53a57d82603a22de6076
new file mode 100644
index 000000000..99fe3e9e5
--- /dev/null
+++ b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/9d/49589525f6c37d177a53a57d82603a22de6076
Binary files differ
diff --git a/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/b8/eb39e727d4ac91542d57faa0bea0458c2d30e3 b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/b8/eb39e727d4ac91542d57faa0bea0458c2d30e3
new file mode 100644
index 000000000..eb6b19046
--- /dev/null
+++ b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/b8/eb39e727d4ac91542d57faa0bea0458c2d30e3
@@ -0,0 +1,2 @@
+xMJ1`}\@#"¬f*
+#;Ƿ7wx׶1nT-"F9R:S(T2cdMr锸R╠aŜC[N"TK1M዆¹0q'ŔpL Ň)K>Kj*3A°ϼm\a2Ҷ0FF{yz?!_1帹UY` \ No newline at end of file
diff --git a/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/d2/5b2c8a3d20c1b1884fbf1c87aa2014dd99ed7f b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/d2/5b2c8a3d20c1b1884fbf1c87aa2014dd99ed7f
new file mode 100644
index 000000000..d412fdb69
--- /dev/null
+++ b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/d2/5b2c8a3d20c1b1884fbf1c87aa2014dd99ed7f
Binary files differ
diff --git a/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/dd/e611c48bd5d6df4157b99f524929851b07eca9 b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/dd/e611c48bd5d6df4157b99f524929851b07eca9
new file mode 100644
index 000000000..1721a0ff4
--- /dev/null
+++ b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/dd/e611c48bd5d6df4157b99f524929851b07eca9
Binary files differ
diff --git a/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/f8/528a899ebb020e575e007426baa4535207a214 b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/f8/528a899ebb020e575e007426baa4535207a214
new file mode 100644
index 000000000..8cc3c848b
--- /dev/null
+++ b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/objects/f8/528a899ebb020e575e007426baa4535207a214
@@ -0,0 +1,2 @@
+x]
+0})J~7A}16o 6 |C@pjsޓBIo5Z,&RҖ04|B+ўuqajBtJ:4R)zOcm[ PW(q+%M[ : \ No newline at end of file
diff --git a/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/refs/heads/master b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/refs/heads/master
new file mode 100644
index 000000000..4ee40e25d
--- /dev/null
+++ b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/refs/heads/master
@@ -0,0 +1 @@
+d25b2c8a3d20c1b1884fbf1c87aa2014dd99ed7f
diff --git a/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/refs/stash b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/refs/stash
new file mode 100644
index 000000000..3e0f2a550
--- /dev/null
+++ b/test/integration_new/stash/stash_including_untracked_files/expected/repo/.git_keep/refs/stash
@@ -0,0 +1 @@
+b8eb39e727d4ac91542d57faa0bea0458c2d30e3