Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ t/shim.log
t/t0022-shim-random.sh
t/tmptrace/
t/trace
# t/test-lib.sh keeps the trash directory when a test fails, so these linger
# after every red run.
t/trash-directory.*
tmp/
goodbye.ts
version.ts
Expand Down
5 changes: 5 additions & 0 deletions fixtures/workspace_flow/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ init_repo() {
(
cd "$repo_dir"
git init -q
# Pin the branch rather than inheriting the host's default. Tests built
# on this fixture name `main`, and git still defaults to `master` where
# init.defaultBranch is unset. Setting HEAD while it is unborn works on
# every git version, unlike `git init -b`.
git symbolic-ref HEAD refs/heads/main
git config user.email "fixture@example.com"
git config user.name "Fixture User"
printf "%s\n" "$file_content" > "$file_name"
Expand Down
Loading