Skip to content

Commit

Permalink
adapt journey tests to changes in init templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Jul 10, 2023
1 parent 5ac2269 commit 6297d22
Show file tree
Hide file tree
Showing 31 changed files with 14 additions and 744 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
28 changes: 14 additions & 14 deletions gix/src/create.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,20 @@ pub enum Kind {
Bare,
}

const TPL_INFO_EXCLUDE: &[u8] = include_bytes!("assets/baseline-init/info/exclude");
const TPL_HOOKS_APPLYPATCH_MSG: &[u8] = include_bytes!("assets/baseline-init/hooks/applypatch-msg.sample");
const TPL_HOOKS_COMMIT_MSG: &[u8] = include_bytes!("assets/baseline-init/hooks/commit-msg.sample");
const TPL_HOOKS_FSMONITOR_WATCHMAN: &[u8] = include_bytes!("assets/baseline-init/hooks/fsmonitor-watchman.sample");
const TPL_HOOKS_POST_UPDATE: &[u8] = include_bytes!("assets/baseline-init/hooks/post-update.sample");
const TPL_HOOKS_PRE_APPLYPATCH: &[u8] = include_bytes!("assets/baseline-init/hooks/pre-applypatch.sample");
const TPL_HOOKS_PRE_COMMIT: &[u8] = include_bytes!("assets/baseline-init/hooks/pre-commit.sample");
const TPL_HOOKS_PRE_MERGE_COMMIT: &[u8] = include_bytes!("assets/baseline-init/hooks/pre-merge-commit.sample");
const TPL_HOOKS_PRE_PUSH: &[u8] = include_bytes!("assets/baseline-init/hooks/pre-push.sample");
const TPL_HOOKS_PRE_REBASE: &[u8] = include_bytes!("assets/baseline-init/hooks/pre-rebase.sample");
const TPL_HOOKS_PREPARE_COMMIT_MSG: &[u8] = include_bytes!("assets/baseline-init/hooks/prepare-commit-msg.sample");
const TPL_HOOKS_DOCS_URL: &[u8] = include_bytes!("assets/baseline-init/hooks/docs.url");
const TPL_DESCRIPTION: &[u8] = include_bytes!("assets/baseline-init/description");
const TPL_HEAD: &[u8] = include_bytes!("assets/baseline-init/HEAD");
const TPL_INFO_EXCLUDE: &[u8] = include_bytes!("assets/init/info/exclude");
const TPL_HOOKS_APPLYPATCH_MSG: &[u8] = include_bytes!("assets/init/hooks/applypatch-msg.sample");
const TPL_HOOKS_COMMIT_MSG: &[u8] = include_bytes!("assets/init/hooks/commit-msg.sample");
const TPL_HOOKS_FSMONITOR_WATCHMAN: &[u8] = include_bytes!("assets/init/hooks/fsmonitor-watchman.sample");
const TPL_HOOKS_POST_UPDATE: &[u8] = include_bytes!("assets/init/hooks/post-update.sample");
const TPL_HOOKS_PRE_APPLYPATCH: &[u8] = include_bytes!("assets/init/hooks/pre-applypatch.sample");
const TPL_HOOKS_PRE_COMMIT: &[u8] = include_bytes!("assets/init/hooks/pre-commit.sample");
const TPL_HOOKS_PRE_MERGE_COMMIT: &[u8] = include_bytes!("assets/init/hooks/pre-merge-commit.sample");
const TPL_HOOKS_PRE_PUSH: &[u8] = include_bytes!("assets/init/hooks/pre-push.sample");
const TPL_HOOKS_PRE_REBASE: &[u8] = include_bytes!("assets/init/hooks/pre-rebase.sample");
const TPL_HOOKS_PREPARE_COMMIT_MSG: &[u8] = include_bytes!("assets/init/hooks/prepare-commit-msg.sample");
const TPL_HOOKS_DOCS_URL: &[u8] = include_bytes!("assets/init/hooks/docs.url");
const TPL_DESCRIPTION: &[u8] = include_bytes!("assets/init/description");
const TPL_HEAD: &[u8] = include_bytes!("assets/init/HEAD");

struct PathCursor<'a>(&'a mut PathBuf);

Expand Down
1 change: 0 additions & 1 deletion tests/fixtures/baseline-init/HEAD

This file was deleted.

1 change: 0 additions & 1 deletion tests/fixtures/baseline-init/description

This file was deleted.

15 changes: 0 additions & 15 deletions tests/fixtures/baseline-init/hooks/applypatch-msg.sample

This file was deleted.

24 changes: 0 additions & 24 deletions tests/fixtures/baseline-init/hooks/commit-msg.sample

This file was deleted.

173 changes: 0 additions & 173 deletions tests/fixtures/baseline-init/hooks/fsmonitor-watchman.sample

This file was deleted.

8 changes: 0 additions & 8 deletions tests/fixtures/baseline-init/hooks/post-update.sample

This file was deleted.

14 changes: 0 additions & 14 deletions tests/fixtures/baseline-init/hooks/pre-applypatch.sample

This file was deleted.

49 changes: 0 additions & 49 deletions tests/fixtures/baseline-init/hooks/pre-commit.sample

This file was deleted.

13 changes: 0 additions & 13 deletions tests/fixtures/baseline-init/hooks/pre-merge-commit.sample

This file was deleted.

53 changes: 0 additions & 53 deletions tests/fixtures/baseline-init/hooks/pre-push.sample

This file was deleted.

Loading

0 comments on commit 6297d22

Please sign in to comment.