summaryrefslogtreecommitdiffstats
path: root/test/integration_new/branch/checkout_by_name/expected/repo/.git_keep/refs/heads
diff options
context:
space:
mode:
authorRyooooooga <eial5q265e5@gmail.com>2022-10-16 21:31:42 +0900
committerJesse Duffield <jessedduffield@gmail.com>2022-11-14 19:05:07 +1100
commit52a2e4c1dc270c95366d05687de514caed95f695 (patch)
tree3c0d5d086da0a365c8429166a903874f6c5aaf2f /test/integration_new/branch/checkout_by_name/expected/repo/.git_keep/refs/heads
parentb33ec5a05025a2755f4511f042e9e0fcb224bf47 (diff)
fix: fix ambiguous branch name
test: add an integration test for checkout branch by name fix: fix full ref name of detached head refactor: refactor current branch loader chore: use field name explicitly
Diffstat (limited to 'test/integration_new/branch/checkout_by_name/expected/repo/.git_keep/refs/heads')
-rw-r--r--test/integration_new/branch/checkout_by_name/expected/repo/.git_keep/refs/heads/@1
-rw-r--r--test/integration_new/branch/checkout_by_name/expected/repo/.git_keep/refs/heads/master1
-rw-r--r--test/integration_new/branch/checkout_by_name/expected/repo/.git_keep/refs/heads/new-branch1
3 files changed, 3 insertions, 0 deletions
diff --git a/test/integration_new/branch/checkout_by_name/expected/repo/.git_keep/refs/heads/@ b/test/integration_new/branch/checkout_by_name/expected/repo/.git_keep/refs/heads/@
new file mode 100644
index 000000000..2f00c9f3a
--- /dev/null
+++ b/test/integration_new/branch/checkout_by_name/expected/repo/.git_keep/refs/heads/@
@@ -0,0 +1 @@
+6d69ac71e12a83769fca195d0a714435e1f4661a
diff --git a/test/integration_new/branch/checkout_by_name/expected/repo/.git_keep/refs/heads/master b/test/integration_new/branch/checkout_by_name/expected/repo/.git_keep/refs/heads/master
new file mode 100644
index 000000000..15e666674
--- /dev/null
+++ b/test/integration_new/branch/checkout_by_name/expected/repo/.git_keep/refs/heads/master
@@ -0,0 +1 @@
+18565748bda3ca01a67a92f340705af5a11384ae
diff --git a/test/integration_new/branch/checkout_by_name/expected/repo/.git_keep/refs/heads/new-branch b/test/integration_new/branch/checkout_by_name/expected/repo/.git_keep/refs/heads/new-branch
new file mode 100644
index 000000000..2f00c9f3a
--- /dev/null
+++ b/test/integration_new/branch/checkout_by_name/expected/repo/.git_keep/refs/heads/new-branch
@@ -0,0 +1 @@
+6d69ac71e12a83769fca195d0a714435e1f4661a