diff --git a/tests/fixtures.py b/tests/fixtures.py index 04a8114..81fb577 100644 --- a/tests/fixtures.py +++ b/tests/fixtures.py @@ -48,10 +48,19 @@ NOT_DJANGO_GIT_PROJECT = os.path.join( NOT_GIT_DJANGO_PROJECT = os.path.join( _FIXTURES_FOLDER, 'test_django_without_git_project/') +NON_GIT_ROOT_GIT_FOLDER = os.path.join( + _FIXTURES_FOLDER, 'test_non_root_git_project/' +) +NON_GIT_ROOT_DJANGO_PROJECT = os.path.join( + NON_GIT_ROOT_GIT_FOLDER, 'django_project/' +) + + ALL_GIT_PROJECTS = ( NOT_DJANGO_GIT_PROJECT, MULTI_COMMIT_PROJECT, - DELETED_MIGRATION_PROJECT + DELETED_MIGRATION_PROJECT, + NON_GIT_ROOT_GIT_FOLDER, ) diff --git a/tests/functional/test_cmd_line_call.py b/tests/functional/test_cmd_line_call.py index 1077375..a2861fa 100644 --- a/tests/functional/test_cmd_line_call.py +++ b/tests/functional/test_cmd_line_call.py @@ -241,3 +241,36 @@ class CallLinterFromCommandLineTest(unittest.TestCase): "(test_app3, 0001_initial)... OK", ]) ) + + def test_call_project_non_git_root(self): + # could use tag: version_ok (but doesn't work in Travis) + cmd = '{0} --no-cache {1} 2c46f438a89972f9ce2d5151a825a5bfb7f7db4b'.format( + self.linter_exec, + fixtures.NON_GIT_ROOT_DJANGO_PROJECT) + fixtures.prepare_git_project(fixtures.NON_GIT_ROOT_GIT_FOLDER) + + process = Popen( + cmd, shell=True, stdout=PIPE, stderr=PIPE) + process.wait() + self.assertEqual(process.returncode, 0) + lines = list(map(utils.clean_bytes_to_str, process.stdout.readlines())) + self.assertEqual(len(lines), 3) + self.assertTrue(lines[0].endswith('OK')) + self.assertTrue(lines[1].startswith('*** Summary')) + + def test_call_project_non_git_root_ko(self): + # could use tag: version_ko (but doesn't work in Travis) + cmd = '{0} --no-cache {1} 0140e142724fc58944797f9ddc2ebf964146339a'.format( + self.linter_exec, + fixtures.NON_GIT_ROOT_DJANGO_PROJECT) + fixtures.prepare_git_project(fixtures.NON_GIT_ROOT_GIT_FOLDER) + + process = Popen( + cmd, shell=True, stdout=PIPE, stderr=PIPE) + process.wait() + self.assertNotEqual(process.returncode, 0) + lines = list(map(utils.clean_bytes_to_str, process.stdout.readlines())) + self.assertEqual(len(lines), 5) + self.assertTrue(lines[0].endswith('ERR')) + self.assertTrue(lines[2].endswith('OK')) + self.assertTrue(lines[3].startswith('*** Summary')) diff --git a/tests/test_project_fixtures/test_non_root_git_project/django_project/manage.py b/tests/test_project_fixtures/test_non_root_git_project/django_project/manage.py new file mode 100644 index 0000000..3390cc6 --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/django_project/manage.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python +import os +import sys + +if __name__ == "__main__": + os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test_project.settings") + try: + from django.core.management import execute_from_command_line + except ImportError: + # The above import may fail for some other reason. Ensure that the + # issue is really that Django is missing to avoid masking other + # exceptions on Python 2. + try: + import django + except ImportError: + raise ImportError( + "Couldn't import Django. Are you sure it's installed and " + "available on your PYTHONPATH environment variable? Did you " + "forget to activate a virtual environment?" + ) + raise + execute_from_command_line(sys.argv) diff --git a/tests/test_project_fixtures/test_non_root_git_project/django_project/test_app1/__init__.py b/tests/test_project_fixtures/test_non_root_git_project/django_project/test_app1/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/test_project_fixtures/test_non_root_git_project/django_project/test_app1/admin.py b/tests/test_project_fixtures/test_non_root_git_project/django_project/test_app1/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/django_project/test_app1/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/tests/test_project_fixtures/test_non_root_git_project/django_project/test_app1/apps.py b/tests/test_project_fixtures/test_non_root_git_project/django_project/test_app1/apps.py new file mode 100644 index 0000000..1dc36fd --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/django_project/test_app1/apps.py @@ -0,0 +1,5 @@ +from django.apps import AppConfig + + +class TestApp1Config(AppConfig): + name = 'test_app1' diff --git a/tests/test_project_fixtures/test_non_root_git_project/django_project/test_app1/migrations/0001_initial.py b/tests/test_project_fixtures/test_non_root_git_project/django_project/test_app1/migrations/0001_initial.py new file mode 100644 index 0000000..9bb5157 --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/django_project/test_app1/migrations/0001_initial.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.18 on 2019-01-20 10:31 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + ] + + operations = [ + migrations.CreateModel( + name='A', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('null_field', models.IntegerField()), + ], + ), + ] diff --git a/tests/test_project_fixtures/test_non_root_git_project/django_project/test_app1/migrations/0002_a_null_field_2.py b/tests/test_project_fixtures/test_non_root_git_project/django_project/test_app1/migrations/0002_a_null_field_2.py new file mode 100644 index 0000000..15d47f2 --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/django_project/test_app1/migrations/0002_a_null_field_2.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.18 on 2019-01-20 10:32 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('test_app1', '0001_initial'), + ] + + operations = [ + migrations.AddField( + model_name='a', + name='null_field_2', + field=models.IntegerField(default=1), + ), + ] diff --git a/tests/test_project_fixtures/test_non_root_git_project/django_project/test_app1/migrations/0003_a_non_null_field.py b/tests/test_project_fixtures/test_non_root_git_project/django_project/test_app1/migrations/0003_a_non_null_field.py new file mode 100644 index 0000000..8fbe1b0 --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/django_project/test_app1/migrations/0003_a_non_null_field.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.18 on 2019-01-20 10:33 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('test_app1', '0002_a_null_field_2'), + ] + + operations = [ + migrations.AddField( + model_name='a', + name='non_null_field', + field=models.IntegerField(null=True), + ), + ] diff --git a/tests/test_project_fixtures/test_non_root_git_project/django_project/test_app1/migrations/__init__.py b/tests/test_project_fixtures/test_non_root_git_project/django_project/test_app1/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/test_project_fixtures/test_non_root_git_project/django_project/test_app1/models.py b/tests/test_project_fixtures/test_non_root_git_project/django_project/test_app1/models.py new file mode 100644 index 0000000..1cdc834 --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/django_project/test_app1/models.py @@ -0,0 +1,6 @@ +from django.db import models + +class A(models.Model): + null_field = models.IntegerField() + null_field_2 = models.IntegerField(default=1) + non_null_field = models.IntegerField(null=True) diff --git a/tests/test_project_fixtures/test_non_root_git_project/django_project/test_app1/tests.py b/tests/test_project_fixtures/test_non_root_git_project/django_project/test_app1/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/django_project/test_app1/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/tests/test_project_fixtures/test_non_root_git_project/django_project/test_app1/views.py b/tests/test_project_fixtures/test_non_root_git_project/django_project/test_app1/views.py new file mode 100644 index 0000000..91ea44a --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/django_project/test_app1/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/tests/test_project_fixtures/test_non_root_git_project/django_project/test_project/__init__.py b/tests/test_project_fixtures/test_non_root_git_project/django_project/test_project/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/test_project_fixtures/test_non_root_git_project/django_project/test_project/settings.py b/tests/test_project_fixtures/test_non_root_git_project/django_project/test_project/settings.py new file mode 100644 index 0000000..986913f --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/django_project/test_project/settings.py @@ -0,0 +1,122 @@ +""" +Django settings for test_project project. + +Generated by 'django-admin startproject' using Django 1.11.6. + +For more information on this file, see +https://docs.djangoproject.com/en/1.11/topics/settings/ + +For the full list of settings and their values, see +https://docs.djangoproject.com/en/1.11/ref/settings/ +""" + +import os +import sys + +# Build paths inside the project like this: os.path.join(BASE_DIR, ...) +BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) + +sys.path.insert(0, os.path.join(BASE_DIR, 'apps')) + +# Quick-start development settings - unsuitable for production +# See https://docs.djangoproject.com/en/1.11/howto/deployment/checklist/ + +# SECURITY WARNING: keep the secret key used in production secret! +SECRET_KEY = 'gtb+mohs%gf0+#fr89vw7e&#edmv=q8!iv+n&j_soawk$tkj3^' + +# SECURITY WARNING: don't run with debug turned on in production! +DEBUG = True + +ALLOWED_HOSTS = [] + + +# Application definition + +INSTALLED_APPS = [ + 'django.contrib.admin', + 'django.contrib.auth', + 'django.contrib.contenttypes', + 'django.contrib.sessions', + 'django.contrib.messages', + 'django.contrib.staticfiles', + 'test_app1', +] + +MIDDLEWARE = [ + 'django.middleware.security.SecurityMiddleware', + 'django.contrib.sessions.middleware.SessionMiddleware', + 'django.middleware.common.CommonMiddleware', + 'django.middleware.csrf.CsrfViewMiddleware', + 'django.contrib.auth.middleware.AuthenticationMiddleware', + 'django.contrib.messages.middleware.MessageMiddleware', + 'django.middleware.clickjacking.XFrameOptionsMiddleware', +] + +ROOT_URLCONF = 'test_project.urls' + +TEMPLATES = [ + { + 'BACKEND': 'django.template.backends.django.DjangoTemplates', + 'DIRS': [], + 'APP_DIRS': True, + 'OPTIONS': { + 'context_processors': [ + 'django.template.context_processors.debug', + 'django.template.context_processors.request', + 'django.contrib.auth.context_processors.auth', + 'django.contrib.messages.context_processors.messages', + ], + }, + }, +] + +WSGI_APPLICATION = 'test_project.wsgi.application' + + +# Database +# https://docs.djangoproject.com/en/1.11/ref/settings/#databases + +DATABASES = { + 'default': { + 'ENGINE': 'django_fake_database_backends.backends.mysql' + } +} + + +# Password validation +# https://docs.djangoproject.com/en/1.11/ref/settings/#auth-password-validators + +AUTH_PASSWORD_VALIDATORS = [ + { + 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', + }, + { + 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', + }, +] + + +# Internationalization +# https://docs.djangoproject.com/en/1.11/topics/i18n/ + +LANGUAGE_CODE = 'en-us' + +TIME_ZONE = 'UTC' + +USE_I18N = True + +USE_L10N = True + +USE_TZ = True + + +# Static files (CSS, JavaScript, Images) +# https://docs.djangoproject.com/en/1.11/howto/static-files/ + +STATIC_URL = '/static/' diff --git a/tests/test_project_fixtures/test_non_root_git_project/django_project/test_project/urls.py b/tests/test_project_fixtures/test_non_root_git_project/django_project/test_project/urls.py new file mode 100644 index 0000000..735de5d --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/django_project/test_project/urls.py @@ -0,0 +1,21 @@ +"""linter_test_project URL Configuration + +The `urlpatterns` list routes URLs to views. For more information please see: + https://docs.djangoproject.com/en/1.11/topics/http/urls/ +Examples: +Function views + 1. Add an import: from my_app import views + 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') +Class-based views + 1. Add an import: from other_app.views import Home + 2. Add a URL to urlpatterns: url(r'^$', Home.as_view(), name='home') +Including another URLconf + 1. Import the include() function: from django.conf.urls import url, include + 2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls')) +""" +from django.conf.urls import url +from django.contrib import admin + +urlpatterns = [ + url(r'^admin/', admin.site.urls), +] diff --git a/tests/test_project_fixtures/test_non_root_git_project/django_project/test_project/wsgi.py b/tests/test_project_fixtures/test_non_root_git_project/django_project/test_project/wsgi.py new file mode 100644 index 0000000..aa66ac1 --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/django_project/test_project/wsgi.py @@ -0,0 +1,16 @@ +""" +WSGI config for linter_test_project project. + +It exposes the WSGI callable as a module-level variable named ``application``. + +For more information on this file, see +https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ +""" + +import os + +from django.core.wsgi import get_wsgi_application + +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test_project.settings") + +application = get_wsgi_application() diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/COMMIT_EDITMSG b/tests/test_project_fixtures/test_non_root_git_project/git/COMMIT_EDITMSG new file mode 100644 index 0000000..46d3912 --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/git/COMMIT_EDITMSG @@ -0,0 +1 @@ +Add ok migration diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/HEAD b/tests/test_project_fixtures/test_non_root_git_project/git/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/git/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/config b/tests/test_project_fixtures/test_non_root_git_project/git/config new file mode 100644 index 0000000..515f483 --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/git/config @@ -0,0 +1,5 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = false + logallrefupdates = true diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/description b/tests/test_project_fixtures/test_non_root_git_project/git/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/git/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/hooks/applypatch-msg.sample b/tests/test_project_fixtures/test_non_root_git_project/git/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/git/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/hooks/commit-msg.sample b/tests/test_project_fixtures/test_non_root_git_project/git/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/git/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/hooks/fsmonitor-watchman.sample b/tests/test_project_fixtures/test_non_root_git_project/git/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..e673bb3 --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/git/hooks/fsmonitor-watchman.sample @@ -0,0 +1,114 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 1) and a time in nanoseconds +# formatted as a string and outputs to stdout all files that have been +# modified since the given time. Paths must be relative to the root of +# the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $time) = @ARGV; + +# Check the hook interface version + +if ($version == 1) { + # convert nanoseconds to seconds + $time = int $time / 1000000000; +} else { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree; +if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $git_work_tree = Win32::GetCwd(); + $git_work_tree =~ tr/\\/\//; +} else { + require Cwd; + $git_work_tree = Cwd::cwd(); +} + +my $retry = 1; + +launch_watchman(); + +sub launch_watchman { + + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $time but were not transient (ie created after + # $time but no longer exist). + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + # + # The category of transient files that we want to ignore will have a + # creation clock (cclock) newer than $time_t value and will also not + # currently exist. + + my $query = <<" END"; + ["query", "$git_work_tree", { + "since": $time, + "fields": ["name"], + "expression": ["not", ["allof", ["since", $time, "cclock"], ["not", "exists"]]] + }] + END + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + my $json_pkg; + eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; + } or do { + require JSON::PP; + $json_pkg = "JSON::PP"; + }; + + my $o = $json_pkg->new->utf8->decode($response); + + if ($retry > 0 and $o->{error} and $o->{error} =~ m/unable to resolve root .* directory (.*) is not watched/) { + print STDERR "Adding '$git_work_tree' to watchman's watch list.\n"; + $retry--; + qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + print "/\0"; + eval { launch_watchman() }; + exit 0; + } + + die "Watchman: $o->{error}.\n" . + "Falling back to scanning...\n" if $o->{error}; + + binmode STDOUT, ":utf8"; + local $, = "\0"; + print @{$o->{files}}; +} diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/hooks/post-update.sample b/tests/test_project_fixtures/test_non_root_git_project/git/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/git/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/hooks/pre-applypatch.sample b/tests/test_project_fixtures/test_non_root_git_project/git/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/git/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/hooks/pre-commit.sample b/tests/test_project_fixtures/test_non_root_git_project/git/hooks/pre-commit.sample new file mode 100755 index 0000000..68d62d5 --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/git/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=4b825dc642cb6eb9a060e54bf8d69288fbee4904 +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/hooks/pre-push.sample b/tests/test_project_fixtures/test_non_root_git_project/git/hooks/pre-push.sample new file mode 100755 index 0000000..6187dbf --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/git/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +z40=0000000000000000000000000000000000000000 + +while read local_ref local_sha remote_ref remote_sha +do + if [ "$local_sha" = $z40 ] + then + # Handle delete + : + else + if [ "$remote_sha" = $z40 ] + then + # New branch, examine all commits + range="$local_sha" + else + # Update to existing branch, examine new commits + range="$remote_sha..$local_sha" + fi + + # Check for WIP commit + commit=`git rev-list -n 1 --grep '^WIP' "$range"` + if [ -n "$commit" ] + then + echo >&2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/hooks/pre-rebase.sample b/tests/test_project_fixtures/test_non_root_git_project/git/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/git/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/hooks/pre-receive.sample b/tests/test_project_fixtures/test_non_root_git_project/git/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/git/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/hooks/prepare-commit-msg.sample b/tests/test_project_fixtures/test_non_root_git_project/git/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/git/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/hooks/update.sample b/tests/test_project_fixtures/test_non_root_git_project/git/hooks/update.sample new file mode 100755 index 0000000..80ba941 --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/git/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --bool hooks.allowunannotated) +allowdeletebranch=$(git config --bool hooks.allowdeletebranch) +denycreatebranch=$(git config --bool hooks.denycreatebranch) +allowdeletetag=$(git config --bool hooks.allowdeletetag) +allowmodifytag=$(git config --bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero="0000000000000000000000000000000000000000" +if [ "$newrev" = "$zero" ]; then + newrev_type=delete +else + newrev_type=$(git cat-file -t $newrev) +fi + +case "$refname","$newrev_type" in + refs/tags/*,commit) + # un-annotated tag + short_refname=${refname##refs/tags/} + if [ "$allowunannotated" != "true" ]; then + echo "*** The un-annotated tag, $short_refname, is not allowed in this repository" >&2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/index b/tests/test_project_fixtures/test_non_root_git_project/git/index new file mode 100644 index 0000000..dbd8c5d Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/index differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/info/exclude b/tests/test_project_fixtures/test_non_root_git_project/git/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/git/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/tests/test_project_fixtures/test_non_root_git_project/git/logs/HEAD b/tests/test_project_fixtures/test_non_root_git_project/git/logs/HEAD new file mode 100644 index 0000000..e3682ee --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/git/logs/HEAD @@ -0,0 +1,6 @@ +0000000000000000000000000000000000000000 30b505e031fc496c88d36be5ed7892337c640223 David Wobrock 1547980206 +0100 commit (initial): init +30b505e031fc496c88d36be5ed7892337c640223 a3f20003e5407a44000854c41ba29c06a3bbba82 David Wobrock 1547980230 +0100 commit (amend): init +a3f20003e5407a44000854c41ba29c06a3bbba82 0e52dc2380789e401cf385d3376af39f4bb6598f David Wobrock 1547980287 +0100 commit (amend): init +0e52dc2380789e401cf385d3376af39f4bb6598f 0140e142724fc58944797f9ddc2ebf964146339a David Wobrock 1547980306 +0100 commit: init migration +0140e142724fc58944797f9ddc2ebf964146339a 2c46f438a89972f9ce2d5151a825a5bfb7f7db4b David Wobrock 1547980356 +0100 commit: add ko migration +2c46f438a89972f9ce2d5151a825a5bfb7f7db4b f122245e6a3ce63b99e0beeb8403031edd08ed50 David Wobrock 1547980398 +0100 commit: Add ok migration diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/logs/refs/heads/master b/tests/test_project_fixtures/test_non_root_git_project/git/logs/refs/heads/master new file mode 100644 index 0000000..e3682ee --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/git/logs/refs/heads/master @@ -0,0 +1,6 @@ +0000000000000000000000000000000000000000 30b505e031fc496c88d36be5ed7892337c640223 David Wobrock 1547980206 +0100 commit (initial): init +30b505e031fc496c88d36be5ed7892337c640223 a3f20003e5407a44000854c41ba29c06a3bbba82 David Wobrock 1547980230 +0100 commit (amend): init +a3f20003e5407a44000854c41ba29c06a3bbba82 0e52dc2380789e401cf385d3376af39f4bb6598f David Wobrock 1547980287 +0100 commit (amend): init +0e52dc2380789e401cf385d3376af39f4bb6598f 0140e142724fc58944797f9ddc2ebf964146339a David Wobrock 1547980306 +0100 commit: init migration +0140e142724fc58944797f9ddc2ebf964146339a 2c46f438a89972f9ce2d5151a825a5bfb7f7db4b David Wobrock 1547980356 +0100 commit: add ko migration +2c46f438a89972f9ce2d5151a825a5bfb7f7db4b f122245e6a3ce63b99e0beeb8403031edd08ed50 David Wobrock 1547980398 +0100 commit: Add ok migration diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/01/40e142724fc58944797f9ddc2ebf964146339a b/tests/test_project_fixtures/test_non_root_git_project/git/objects/01/40e142724fc58944797f9ddc2ebf964146339a new file mode 100644 index 0000000..3b6c8db --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/git/objects/01/40e142724fc58944797f9ddc2ebf964146339a @@ -0,0 +1,2 @@ +x¥�Á +!E[ûîƒáéÓ…ˆýCk}ê$åbõû}BËsáî¥ZJî\*±ë-FnÒL„h¼I6H��¤Á*oÑ&OJR¤ØÃµ¸uQË@ ,ÆF‚—Ù¥QPÞÏÚšÄܳ_kãg÷Ê�_ªo•nü¾8½xZ‹Ë÷‰j9r¡Õb Ì|€�t íñËÛ¸ZòÚ\Ïuc�¿M1 \ No newline at end of file diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/0e/52dc2380789e401cf385d3376af39f4bb6598f b/tests/test_project_fixtures/test_non_root_git_project/git/objects/0e/52dc2380789e401cf385d3376af39f4bb6598f new file mode 100644 index 0000000..e6f6376 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/0e/52dc2380789e401cf385d3376af39f4bb6598f differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/15/d47f23b30965a0ef668af1e639a23634e4532a b/tests/test_project_fixtures/test_non_root_git_project/git/objects/15/d47f23b30965a0ef668af1e639a23634e4532a new file mode 100644 index 0000000..359a966 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/15/d47f23b30965a0ef668af1e639a23634e4532a differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/16/8e382963b2ef0de835c22c48c2bf3a702e83a0 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/16/8e382963b2ef0de835c22c48c2bf3a702e83a0 new file mode 100644 index 0000000..0835b5a Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/16/8e382963b2ef0de835c22c48c2bf3a702e83a0 differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/1c/dc834ac63fc5edefbbdcabf264026ccc8cf4a7 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/1c/dc834ac63fc5edefbbdcabf264026ccc8cf4a7 new file mode 100644 index 0000000..e0b776b Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/1c/dc834ac63fc5edefbbdcabf264026ccc8cf4a7 differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/1d/c36fd270ce97d05f4fa75c3c16917951d71768 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/1d/c36fd270ce97d05f4fa75c3c16917951d71768 new file mode 100644 index 0000000..829448e Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/1d/c36fd270ce97d05f4fa75c3c16917951d71768 differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/21/a03f36ba451433c9fefe71d9fd05e80cefe458 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/21/a03f36ba451433c9fefe71d9fd05e80cefe458 new file mode 100644 index 0000000..8db52c7 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/21/a03f36ba451433c9fefe71d9fd05e80cefe458 differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/29/56309db5fd77d3474462f613653d73787f214f b/tests/test_project_fixtures/test_non_root_git_project/git/objects/29/56309db5fd77d3474462f613653d73787f214f new file mode 100644 index 0000000..215b13d Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/29/56309db5fd77d3474462f613653d73787f214f differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/2c/46f438a89972f9ce2d5151a825a5bfb7f7db4b b/tests/test_project_fixtures/test_non_root_git_project/git/objects/2c/46f438a89972f9ce2d5151a825a5bfb7f7db4b new file mode 100644 index 0000000..a022075 --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/git/objects/2c/46f438a89972f9ce2d5151a825a5bfb7f7db4b @@ -0,0 +1,4 @@ +x¥ŽM!ƒ]sŠ·7™ðó˜�ÄÞÁ5ð`$Ê`êõÅxÓÕ×´MC-%w�¨v½ÅÞ�CLA%3›”P`M¼ \ No newline at end of file diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/2c/5613c15e0a45ad460b4973dcdf942846b77b72 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/2c/5613c15e0a45ad460b4973dcdf942846b77b72 new file mode 100644 index 0000000..71c146a Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/2c/5613c15e0a45ad460b4973dcdf942846b77b72 differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/2f/3fa93ad05c33e1d0ccda111d881e192bccbc87 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/2f/3fa93ad05c33e1d0ccda111d881e192bccbc87 new file mode 100644 index 0000000..b6b9461 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/2f/3fa93ad05c33e1d0ccda111d881e192bccbc87 differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/30/b505e031fc496c88d36be5ed7892337c640223 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/30/b505e031fc496c88d36be5ed7892337c640223 new file mode 100644 index 0000000..f49d09e --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/git/objects/30/b505e031fc496c88d36be5ed7892337c640223 @@ -0,0 +1,2 @@ +x¥�; +1@­sŠé…eÆ$ÎD,¼ƒõä§A³�õú®xË÷Š÷B«µ  YoFO |¦¤9EC죓�mÊFŒql3û µ!Qò·Öá,¯áÒ|oá‡øÅéýÃÓµJyL¡Õ#�5ìfÜá¶Hˆjµëx¤?ª,e¨tð<| \ No newline at end of file diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/33/90cc679ea02b9ad1a57dc6ef711255b4f4d90c b/tests/test_project_fixtures/test_non_root_git_project/git/objects/33/90cc679ea02b9ad1a57dc6ef711255b4f4d90c new file mode 100644 index 0000000..7d7f517 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/33/90cc679ea02b9ad1a57dc6ef711255b4f4d90c differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/41/07cf9a6c4633c97bd7ee2a73353c88deca64a4 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/41/07cf9a6c4633c97bd7ee2a73353c88deca64a4 new file mode 100644 index 0000000..90e5aac Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/41/07cf9a6c4633c97bd7ee2a73353c88deca64a4 differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/43/4e403e49cc1e2037d29695e0cb6477f20acc2e b/tests/test_project_fixtures/test_non_root_git_project/git/objects/43/4e403e49cc1e2037d29695e0cb6477f20acc2e new file mode 100644 index 0000000..4a2e35f Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/43/4e403e49cc1e2037d29695e0cb6477f20acc2e differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/4a/d7b8980d409199892bb78d1c77164fc6446993 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/4a/d7b8980d409199892bb78d1c77164fc6446993 new file mode 100644 index 0000000..b0463b9 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/4a/d7b8980d409199892bb78d1c77164fc6446993 differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/4b/0dddde301971fc19f1817a22bf0948890ccacc b/tests/test_project_fixtures/test_non_root_git_project/git/objects/4b/0dddde301971fc19f1817a22bf0948890ccacc new file mode 100644 index 0000000..26178f2 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/4b/0dddde301971fc19f1817a22bf0948890ccacc differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/4c/f37def1d191c7c4b34e1053fa923e6d649525a b/tests/test_project_fixtures/test_non_root_git_project/git/objects/4c/f37def1d191c7c4b34e1053fa923e6d649525a new file mode 100644 index 0000000..e152596 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/4c/f37def1d191c7c4b34e1053fa923e6d649525a differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/4d/00aeaddee6c0c490e5018fa1d40b3fb4fd55a4 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/4d/00aeaddee6c0c490e5018fa1d40b3fb4fd55a4 new file mode 100644 index 0000000..e213d67 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/4d/00aeaddee6c0c490e5018fa1d40b3fb4fd55a4 differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/56/26f87a33217c62ed70006bda0735aaa8578ee7 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/56/26f87a33217c62ed70006bda0735aaa8578ee7 new file mode 100644 index 0000000..fa9f1c0 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/56/26f87a33217c62ed70006bda0735aaa8578ee7 differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/57/97dee69dcb584dede25d7c02d34caf96d70236 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/57/97dee69dcb584dede25d7c02d34caf96d70236 new file mode 100644 index 0000000..b20e733 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/57/97dee69dcb584dede25d7c02d34caf96d70236 differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/59/e2ac235a403799063c7e7f2a137c462ac17ba2 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/59/e2ac235a403799063c7e7f2a137c462ac17ba2 new file mode 100644 index 0000000..1d2d86c Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/59/e2ac235a403799063c7e7f2a137c462ac17ba2 differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/5c/f2c8f1e59f99ac2de981abf2b6adf6279ea3da b/tests/test_project_fixtures/test_non_root_git_project/git/objects/5c/f2c8f1e59f99ac2de981abf2b6adf6279ea3da new file mode 100644 index 0000000..64d0dfa Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/5c/f2c8f1e59f99ac2de981abf2b6adf6279ea3da differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/6b/f17bf7104d256ef447c26ecb37124331d29cae b/tests/test_project_fixtures/test_non_root_git_project/git/objects/6b/f17bf7104d256ef447c26ecb37124331d29cae new file mode 100644 index 0000000..b3da19a Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/6b/f17bf7104d256ef447c26ecb37124331d29cae differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/73/5de5db8bc5e1ed29b3cb7ece62b5e7c8db06ee b/tests/test_project_fixtures/test_non_root_git_project/git/objects/73/5de5db8bc5e1ed29b3cb7ece62b5e7c8db06ee new file mode 100644 index 0000000..66ccc09 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/73/5de5db8bc5e1ed29b3cb7ece62b5e7c8db06ee differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/7c/dae90d4510701438cf671bb67772202f825891 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/7c/dae90d4510701438cf671bb67772202f825891 new file mode 100644 index 0000000..f03c030 --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/git/objects/7c/dae90d4510701438cf671bb67772202f825891 @@ -0,0 +1 @@ +x+)JMU0´0a040031Q0000ŒÏÌË,ÉLÌÑ+¨d˜½U´ä’}jZ$Ï·ÝsKd¸e?°G(5ŠOŒÏ+ÍɉOËLÍI‰7é½R¯¼™3uÁû´®�Ï,™™< ÖBè0éÈÏCÒÒÓ¿OšËÒ¿N1~η+}Ýoà“i€ê‰»&>¤ìÙÜG³7]¼æìÝ­¹®<êÆ¡'=Áå,JU \ No newline at end of file diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/7c/e503c2dd97ba78597f6ff6e4393132753573f6 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/7c/e503c2dd97ba78597f6ff6e4393132753573f6 new file mode 100644 index 0000000..250bef6 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/7c/e503c2dd97ba78597f6ff6e4393132753573f6 differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/81/45e446f728f9ed6ba04294b4c880be74383949 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/81/45e446f728f9ed6ba04294b4c880be74383949 new file mode 100644 index 0000000..84e0a13 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/81/45e446f728f9ed6ba04294b4c880be74383949 differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/82/bc1ebd64ca46c16193d8f8407127f0f3e4164c b/tests/test_project_fixtures/test_non_root_git_project/git/objects/82/bc1ebd64ca46c16193d8f8407127f0f3e4164c new file mode 100644 index 0000000..bdee280 --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/git/objects/82/bc1ebd64ca46c16193d8f8407127f0f3e4164c @@ -0,0 +1,2 @@ +x]ŽÁ +Â0 @+zAð<î2«âQDðîÅ«XºµÎŒµ)m&úÝþ€™ò/!IÑ`1_/7bøšN.³Ã¹} ¸î9Óˆa„8e�9f ñ‡Ô²“7tV}#M­}…¹ƒ*jôyžl”d¥UˆXÛ’ÔÔFÛÛcìlßýŽêVò·+I¥À)µOóå­CÓ6v×ý—8ÅÇ!:L \ No newline at end of file diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/84/8eee04718d10f32f59ff9ae63afd8478ef68c4 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/84/8eee04718d10f32f59ff9ae63afd8478ef68c4 new file mode 100644 index 0000000..d41572a Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/84/8eee04718d10f32f59ff9ae63afd8478ef68c4 differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/88/c4bb3d2e2aa1968f90484f0b6cd77b7c4f7c57 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/88/c4bb3d2e2aa1968f90484f0b6cd77b7c4f7c57 new file mode 100644 index 0000000..3f19464 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/88/c4bb3d2e2aa1968f90484f0b6cd77b7c4f7c57 differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/89/5be6939590f9199877bf41d9fe2ca0f5f501eb b/tests/test_project_fixtures/test_non_root_git_project/git/objects/89/5be6939590f9199877bf41d9fe2ca0f5f501eb new file mode 100644 index 0000000..3e08383 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/89/5be6939590f9199877bf41d9fe2ca0f5f501eb differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/8c/38f3f3dad51e4585f3984282c2a4bec5349c1e b/tests/test_project_fixtures/test_non_root_git_project/git/objects/8c/38f3f3dad51e4585f3984282c2a4bec5349c1e new file mode 100644 index 0000000..e68f806 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/8c/38f3f3dad51e4585f3984282c2a4bec5349c1e differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/8f/255685e632623f016e1ecf18a4e9d58746e1ce b/tests/test_project_fixtures/test_non_root_git_project/git/objects/8f/255685e632623f016e1ecf18a4e9d58746e1ce new file mode 100644 index 0000000..2299381 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/8f/255685e632623f016e1ecf18a4e9d58746e1ce differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/8f/be1b0a394f7e215f9cf6d48e8bfdc3b00e1c80 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/8f/be1b0a394f7e215f9cf6d48e8bfdc3b00e1c80 new file mode 100644 index 0000000..c09f99a Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/8f/be1b0a394f7e215f9cf6d48e8bfdc3b00e1c80 differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/91/3c6cc338b8f9d2530f21dd94b939fbc42cf1c4 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/91/3c6cc338b8f9d2530f21dd94b939fbc42cf1c4 new file mode 100644 index 0000000..e62ddc5 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/91/3c6cc338b8f9d2530f21dd94b939fbc42cf1c4 differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/91/ea44a218fbd2f408430959283f0419c921093e b/tests/test_project_fixtures/test_non_root_git_project/git/objects/91/ea44a218fbd2f408430959283f0419c921093e new file mode 100644 index 0000000..263fc8c Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/91/ea44a218fbd2f408430959283f0419c921093e differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/98/6913f97e6222f14be4db7d10e90430cc43cc4d b/tests/test_project_fixtures/test_non_root_git_project/git/objects/98/6913f97e6222f14be4db7d10e90430cc43cc4d new file mode 100644 index 0000000..c2660a4 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/98/6913f97e6222f14be4db7d10e90430cc43cc4d differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/9b/353778696f76f0288affbc392eeefa4df70e90 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/9b/353778696f76f0288affbc392eeefa4df70e90 new file mode 100644 index 0000000..961f157 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/9b/353778696f76f0288affbc392eeefa4df70e90 differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/9b/b51574d23f6566590cf6bb9ce31868466be03f b/tests/test_project_fixtures/test_non_root_git_project/git/objects/9b/b51574d23f6566590cf6bb9ce31868466be03f new file mode 100644 index 0000000..d07a118 --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/git/objects/9b/b51574d23f6566590cf6bb9ce31868466be03f @@ -0,0 +1,5 @@ +x]PËjÃ0ìY_±�ƒ�;m! øRrÈ­·„m­�ZY2zÒ¯¯d%MSa„™™�™U#TO�Ë»d÷´ŠqÙ¯ÁÙ.[„Ìà%êÚ"ƒæÛ�Zö +ʼôß +”„eQ>gE™- (‹õCI:­ ´sÖi¤ø0*mÁIîÝ‘ +n½�0$ +Ùd˜³æ¢xïÓ¸’fƒJÒŠÚ8\¨ô*ÊÁùšð‡Kny- ‚7í0b G” eËÑxâ}#§Æ°^üe‚ÍŸˆ�~ÿC(“N“�GÖVÉ&YÜ GÁLC¢0ÞiÂYrÙ*ß8«vAšÖþ�¶S«B錚µ>ÑO<�ƒÚoÅ¿±Úù×ó’/Ô�2Hc‰ý6™Ïo{„Ð4‘N:UºFï¥ÅuLÿ?v¼ºœ �äÓØŸº \ No newline at end of file diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/9d/1dcfdaf1a6857c5f83dc27019c7600e1ffaff8 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/9d/1dcfdaf1a6857c5f83dc27019c7600e1ffaff8 new file mode 100644 index 0000000..0f6ee3b Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/9d/1dcfdaf1a6857c5f83dc27019c7600e1ffaff8 differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/a3/f20003e5407a44000854c41ba29c06a3bbba82 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/a3/f20003e5407a44000854c41ba29c06a3bbba82 new file mode 100644 index 0000000..95bd2eb Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/a3/f20003e5407a44000854c41ba29c06a3bbba82 differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/aa/66ac1debe2ae5fd39cd8e65f6dfd9786649490 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/aa/66ac1debe2ae5fd39cd8e65f6dfd9786649490 new file mode 100644 index 0000000..6ec0e99 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/aa/66ac1debe2ae5fd39cd8e65f6dfd9786649490 differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/b8/da44fc3f868ffbd94e347927f138be8b5b5b2d b/tests/test_project_fixtures/test_non_root_git_project/git/objects/b8/da44fc3f868ffbd94e347927f138be8b5b5b2d new file mode 100644 index 0000000..416d9b8 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/b8/da44fc3f868ffbd94e347927f138be8b5b5b2d differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/bd/fc3d5864d2ad429269f80d739ef58ded2d4b35 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/bd/fc3d5864d2ad429269f80d739ef58ded2d4b35 new file mode 100644 index 0000000..7bfac15 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/bd/fc3d5864d2ad429269f80d739ef58ded2d4b35 differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/bf/a71e37ed417bd9acf5ef4a44975f7bfd10341a b/tests/test_project_fixtures/test_non_root_git_project/git/objects/bf/a71e37ed417bd9acf5ef4a44975f7bfd10341a new file mode 100644 index 0000000..b4d68db Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/bf/a71e37ed417bd9acf5ef4a44975f7bfd10341a differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/cb/96855f9aa7aae003123eca1addad870c7b8fde b/tests/test_project_fixtures/test_non_root_git_project/git/objects/cb/96855f9aa7aae003123eca1addad870c7b8fde new file mode 100644 index 0000000..df8c6f3 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/cb/96855f9aa7aae003123eca1addad870c7b8fde differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 new file mode 100644 index 0000000..7112238 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/ea/9048c5860ddad87cb377574bd627fa4a7ccd4c b/tests/test_project_fixtures/test_non_root_git_project/git/objects/ea/9048c5860ddad87cb377574bd627fa4a7ccd4c new file mode 100644 index 0000000..c0f30e5 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/ea/9048c5860ddad87cb377574bd627fa4a7ccd4c differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/f1/22245e6a3ce63b99e0beeb8403031edd08ed50 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/f1/22245e6a3ce63b99e0beeb8403031edd08ed50 new file mode 100644 index 0000000..343ce14 --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/git/objects/f1/22245e6a3ce63b99e0beeb8403031edd08ed50 @@ -0,0 +1 @@ +x¥ŽAj1 E»ö)´�GÙPJ½Cײd§&u\ŒÓ^¿Sr„,߇÷yÒ[«®/sä ™£Å >lV•5�¤•È&ÝF&E1ß<òm·‚kà#¹%;õ‹_88Ï>•D…4a2|ŸŸ}À;ÿT…�žF—+¼ê?xº4®_Géí �ƒ]c€ƒ]¬5ûº‡ÎüÄ…9«B¿B«—Á³ö›ùÖ‚Nˆ \ No newline at end of file diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/f1/ff8f0c6cca456e2e132263fd70ac9593ac1b53 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/f1/ff8f0c6cca456e2e132263fd70ac9593ac1b53 new file mode 100644 index 0000000..19affa3 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/f1/ff8f0c6cca456e2e132263fd70ac9593ac1b53 differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/f6/7bb4d66d0955079a1365ba91ae91671796ce85 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/f6/7bb4d66d0955079a1365ba91ae91671796ce85 new file mode 100644 index 0000000..1ee1d03 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/f6/7bb4d66d0955079a1365ba91ae91671796ce85 differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/f6/a170bb234332d6ecef3b4348f2da0e758c59a7 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/f6/a170bb234332d6ecef3b4348f2da0e758c59a7 new file mode 100644 index 0000000..ea64db9 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/f6/a170bb234332d6ecef3b4348f2da0e758c59a7 differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/objects/fb/3701d6fd9f5fa295ab981f9fac08c3156045d2 b/tests/test_project_fixtures/test_non_root_git_project/git/objects/fb/3701d6fd9f5fa295ab981f9fac08c3156045d2 new file mode 100644 index 0000000..0f1de85 Binary files /dev/null and b/tests/test_project_fixtures/test_non_root_git_project/git/objects/fb/3701d6fd9f5fa295ab981f9fac08c3156045d2 differ diff --git a/tests/test_project_fixtures/test_non_root_git_project/git/refs/heads/master b/tests/test_project_fixtures/test_non_root_git_project/git/refs/heads/master new file mode 100644 index 0000000..7ceae76 --- /dev/null +++ b/tests/test_project_fixtures/test_non_root_git_project/git/refs/heads/master @@ -0,0 +1 @@ +f122245e6a3ce63b99e0beeb8403031edd08ed50