overapp 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/Gemfile +1 -1
- data/Gemfile.lock +2 -2
- data/VERSION +1 -1
- data/lib/overapp/files.rb +11 -47
- data/lib/overapp/from_command.rb +1 -11
- data/lib/overapp/load/base.rb +20 -0
- data/lib/overapp/load/factory.rb +19 -0
- data/lib/overapp/load/instance.rb +35 -0
- data/lib/overapp/load/types/command.rb +19 -0
- data/lib/overapp/load/types/empty.rb +9 -0
- data/lib/overapp/load/types/local_dir.rb +15 -0
- data/lib/overapp/load/types/project.rb +12 -0
- data/lib/overapp/load/types/raw_dir.rb +22 -0
- data/lib/overapp/load/types/repo.rb +13 -0
- data/lib/overapp/project/config.rb +28 -0
- data/lib/overapp/project/config_entry.rb +6 -0
- data/lib/overapp/project/write.rb +21 -0
- data/lib/overapp/project.rb +27 -85
- data/lib/overapp/util/cmd.rb +7 -0
- data/lib/overapp/util/dir.rb +23 -0
- data/lib/overapp/util/git.rb +25 -0
- data/lib/overapp/util/tmp_dir.rb +32 -0
- data/lib/overapp/util/write.rb +9 -0
- data/lib/overapp.rb +23 -27
- data/overapp.gemspec +60 -6
- data/spec/from_command_spec.rb +19 -7
- data/spec/input/rails_post_overlay/.overapp +1 -0
- data/spec/input/rails_post_overlay/app/models/post.rb +2 -0
- data/spec/input/rails_widget_overlay/.overapp +1 -0
- data/spec/input/rails_widget_overlay/app/models/widget.rb +2 -0
- data/spec/input/repo/.abc +1 -0
- data/spec/input/repo/README.md +1 -0
- data/spec/input/repo/b.txt +4 -0
- data/spec/input/repo/git_dir/COMMIT_EDITMSG +1 -0
- data/spec/input/repo/git_dir/HEAD +1 -0
- data/{lib/overapp/thor_file.rb → spec/input/repo/git_dir/MERGE_RR} +0 -0
- data/spec/input/repo/git_dir/config +7 -0
- data/spec/input/repo/git_dir/description +1 -0
- data/spec/input/repo/git_dir/hooks/applypatch-msg.sample +15 -0
- data/spec/input/repo/git_dir/hooks/commit-msg.sample +24 -0
- data/spec/input/repo/git_dir/hooks/post-update.sample +8 -0
- data/spec/input/repo/git_dir/hooks/pre-applypatch.sample +14 -0
- data/spec/input/repo/git_dir/hooks/pre-commit.sample +50 -0
- data/spec/input/repo/git_dir/hooks/pre-push.sample +53 -0
- data/spec/input/repo/git_dir/hooks/pre-rebase.sample +169 -0
- data/spec/input/repo/git_dir/hooks/prepare-commit-msg.sample +36 -0
- data/spec/input/repo/git_dir/hooks/update.sample +128 -0
- data/spec/input/repo/git_dir/index +0 -0
- data/spec/input/repo/git_dir/info/exclude +6 -0
- data/spec/input/repo/git_dir/logs/HEAD +3 -0
- data/spec/input/repo/git_dir/logs/refs/heads/master +3 -0
- data/spec/input/repo/git_dir/objects/0f/0920d9d41f24629586ec1c20d2283d7df3a950 +0 -0
- data/spec/input/repo/git_dir/objects/16/b5741fe01104ea0bdf50603b4c5d42ae5dcbc1 +2 -0
- data/spec/input/repo/git_dir/objects/20/508dfdb202a80e2c533f259a526205448b0152 +0 -0
- data/spec/input/repo/git_dir/objects/59/c5d2b4bc66e952a99b3b18a89cbc1e6704ffa0 +0 -0
- data/spec/input/repo/git_dir/objects/7b/1c8984cafd98a5b369ef325a85cb80e3985148 +2 -0
- data/spec/input/repo/git_dir/objects/bf/9307f21baa545173db65a417026088a033aa91 +2 -0
- data/spec/input/repo/git_dir/objects/d6/8dd4031d2ad5b7a3829ad7df6635e27a7daa22 +0 -0
- data/spec/input/repo/git_dir/objects/d6/cd9e553ef95332f3b77f70d11d0106ca06071c +0 -0
- data/spec/input/repo/git_dir/objects/f8/4c814d15674489c0b41035eb4243ccce522511 +0 -0
- data/spec/input/repo/git_dir/refs/heads/master +1 -0
- data/spec/input/top/.overlay +1 -1
- data/spec/nesting_spec.rb +44 -0
- data/spec/project_note_spec.rb +19 -13
- data/spec/spec_helper.rb +36 -1
- data/spec/support/output_dir.rb +6 -9
- data/spec/support/tmp_dir.rb +11 -0
- data/tmp/.gitkeep +0 -0
- metadata +59 -5
@@ -0,0 +1,128 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
#
|
3
|
+
# An example hook script to blocks unannotated tags from entering.
|
4
|
+
# Called by "git receive-pack" with arguments: refname sha1-old sha1-new
|
5
|
+
#
|
6
|
+
# To enable this hook, rename this file to "update".
|
7
|
+
#
|
8
|
+
# Config
|
9
|
+
# ------
|
10
|
+
# hooks.allowunannotated
|
11
|
+
# This boolean sets whether unannotated tags will be allowed into the
|
12
|
+
# repository. By default they won't be.
|
13
|
+
# hooks.allowdeletetag
|
14
|
+
# This boolean sets whether deleting tags will be allowed in the
|
15
|
+
# repository. By default they won't be.
|
16
|
+
# hooks.allowmodifytag
|
17
|
+
# This boolean sets whether a tag may be modified after creation. By default
|
18
|
+
# it won't be.
|
19
|
+
# hooks.allowdeletebranch
|
20
|
+
# This boolean sets whether deleting branches will be allowed in the
|
21
|
+
# repository. By default they won't be.
|
22
|
+
# hooks.denycreatebranch
|
23
|
+
# This boolean sets whether remotely creating branches will be denied
|
24
|
+
# in the repository. By default this is allowed.
|
25
|
+
#
|
26
|
+
|
27
|
+
# --- Command line
|
28
|
+
refname="$1"
|
29
|
+
oldrev="$2"
|
30
|
+
newrev="$3"
|
31
|
+
|
32
|
+
# --- Safety check
|
33
|
+
if [ -z "$GIT_DIR" ]; then
|
34
|
+
echo "Don't run this script from the command line." >&2
|
35
|
+
echo " (if you want, you could supply GIT_DIR then run" >&2
|
36
|
+
echo " $0 <ref> <oldrev> <newrev>)" >&2
|
37
|
+
exit 1
|
38
|
+
fi
|
39
|
+
|
40
|
+
if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then
|
41
|
+
echo "usage: $0 <ref> <oldrev> <newrev>" >&2
|
42
|
+
exit 1
|
43
|
+
fi
|
44
|
+
|
45
|
+
# --- Config
|
46
|
+
allowunannotated=$(git config --bool hooks.allowunannotated)
|
47
|
+
allowdeletebranch=$(git config --bool hooks.allowdeletebranch)
|
48
|
+
denycreatebranch=$(git config --bool hooks.denycreatebranch)
|
49
|
+
allowdeletetag=$(git config --bool hooks.allowdeletetag)
|
50
|
+
allowmodifytag=$(git config --bool hooks.allowmodifytag)
|
51
|
+
|
52
|
+
# check for no description
|
53
|
+
projectdesc=$(sed -e '1q' "$GIT_DIR/description")
|
54
|
+
case "$projectdesc" in
|
55
|
+
"Unnamed repository"* | "")
|
56
|
+
echo "*** Project description file hasn't been set" >&2
|
57
|
+
exit 1
|
58
|
+
;;
|
59
|
+
esac
|
60
|
+
|
61
|
+
# --- Check types
|
62
|
+
# if $newrev is 0000...0000, it's a commit to delete a ref.
|
63
|
+
zero="0000000000000000000000000000000000000000"
|
64
|
+
if [ "$newrev" = "$zero" ]; then
|
65
|
+
newrev_type=delete
|
66
|
+
else
|
67
|
+
newrev_type=$(git cat-file -t $newrev)
|
68
|
+
fi
|
69
|
+
|
70
|
+
case "$refname","$newrev_type" in
|
71
|
+
refs/tags/*,commit)
|
72
|
+
# un-annotated tag
|
73
|
+
short_refname=${refname##refs/tags/}
|
74
|
+
if [ "$allowunannotated" != "true" ]; then
|
75
|
+
echo "*** The un-annotated tag, $short_refname, is not allowed in this repository" >&2
|
76
|
+
echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2
|
77
|
+
exit 1
|
78
|
+
fi
|
79
|
+
;;
|
80
|
+
refs/tags/*,delete)
|
81
|
+
# delete tag
|
82
|
+
if [ "$allowdeletetag" != "true" ]; then
|
83
|
+
echo "*** Deleting a tag is not allowed in this repository" >&2
|
84
|
+
exit 1
|
85
|
+
fi
|
86
|
+
;;
|
87
|
+
refs/tags/*,tag)
|
88
|
+
# annotated tag
|
89
|
+
if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1
|
90
|
+
then
|
91
|
+
echo "*** Tag '$refname' already exists." >&2
|
92
|
+
echo "*** Modifying a tag is not allowed in this repository." >&2
|
93
|
+
exit 1
|
94
|
+
fi
|
95
|
+
;;
|
96
|
+
refs/heads/*,commit)
|
97
|
+
# branch
|
98
|
+
if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then
|
99
|
+
echo "*** Creating a branch is not allowed in this repository" >&2
|
100
|
+
exit 1
|
101
|
+
fi
|
102
|
+
;;
|
103
|
+
refs/heads/*,delete)
|
104
|
+
# delete branch
|
105
|
+
if [ "$allowdeletebranch" != "true" ]; then
|
106
|
+
echo "*** Deleting a branch is not allowed in this repository" >&2
|
107
|
+
exit 1
|
108
|
+
fi
|
109
|
+
;;
|
110
|
+
refs/remotes/*,commit)
|
111
|
+
# tracking branch
|
112
|
+
;;
|
113
|
+
refs/remotes/*,delete)
|
114
|
+
# delete tracking branch
|
115
|
+
if [ "$allowdeletebranch" != "true" ]; then
|
116
|
+
echo "*** Deleting a tracking branch is not allowed in this repository" >&2
|
117
|
+
exit 1
|
118
|
+
fi
|
119
|
+
;;
|
120
|
+
*)
|
121
|
+
# Anything else (is there anything else?)
|
122
|
+
echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2
|
123
|
+
exit 1
|
124
|
+
;;
|
125
|
+
esac
|
126
|
+
|
127
|
+
# --- Finished
|
128
|
+
exit 0
|
Binary file
|
@@ -0,0 +1,3 @@
|
|
1
|
+
0000000000000000000000000000000000000000 16b5741fe01104ea0bdf50603b4c5d42ae5dcbc1 Mike Harris <mharris717@gmail.com> 1383054467 -0400 commit (initial): Initial
|
2
|
+
16b5741fe01104ea0bdf50603b4c5d42ae5dcbc1 bf9307f21baa545173db65a417026088a033aa91 Mike Harris <mharris717@gmail.com> 1383055661 -0400 commit: b.txt
|
3
|
+
bf9307f21baa545173db65a417026088a033aa91 7b1c8984cafd98a5b369ef325a85cb80e3985148 Mike Harris <mharris717@gmail.com> 1383062048 -0400 commit: .abc
|
@@ -0,0 +1,3 @@
|
|
1
|
+
0000000000000000000000000000000000000000 16b5741fe01104ea0bdf50603b4c5d42ae5dcbc1 Mike Harris <mharris717@gmail.com> 1383054467 -0400 commit (initial): Initial
|
2
|
+
16b5741fe01104ea0bdf50603b4c5d42ae5dcbc1 bf9307f21baa545173db65a417026088a033aa91 Mike Harris <mharris717@gmail.com> 1383055661 -0400 commit: b.txt
|
3
|
+
bf9307f21baa545173db65a417026088a033aa91 7b1c8984cafd98a5b369ef325a85cb80e3985148 Mike Harris <mharris717@gmail.com> 1383062048 -0400 commit: .abc
|
@@ -0,0 +1 @@
|
|
1
|
+
7b1c8984cafd98a5b369ef325a85cb80e3985148
|
data/spec/input/top/.overlay
CHANGED
@@ -1 +1 @@
|
|
1
|
-
c.base "file://
|
1
|
+
c.base "file://OVERAPP_ROOT_DIR/spec/input/repo"
|
@@ -0,0 +1,44 @@
|
|
1
|
+
if true
|
2
|
+
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
|
3
|
+
|
4
|
+
describe 'Nesting' do
|
5
|
+
include_context "tmp dir"
|
6
|
+
|
7
|
+
let(:widget_overlay_dir) do
|
8
|
+
File.expand_path(File.dirname(__FILE__) + "/input/rails_widget_overlay")
|
9
|
+
end
|
10
|
+
|
11
|
+
let(:post_overlay_dir) do
|
12
|
+
File.expand_path(File.dirname(__FILE__) + "/input/rails_post_overlay")
|
13
|
+
end
|
14
|
+
|
15
|
+
describe 'basic' do
|
16
|
+
before do
|
17
|
+
Overapp.write_project widget_overlay_dir,tmp_dir
|
18
|
+
end
|
19
|
+
|
20
|
+
it 'wrote' do
|
21
|
+
File.read("#{tmp_dir}/app/models/widget.rb").should == "class Widget < ActiveRecord::Base\nend"
|
22
|
+
File.read("#{tmp_dir}/config/routes.rb").should == "route stuff\n"
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
describe 'runs base overlay commands' do
|
27
|
+
before do
|
28
|
+
Overapp.write_project post_overlay_dir,tmp_dir
|
29
|
+
end
|
30
|
+
|
31
|
+
it 'has post model' do
|
32
|
+
FileTest.should be_exist("#{tmp_dir}/app/models/post.rb")
|
33
|
+
end
|
34
|
+
|
35
|
+
it 'has widget model' do
|
36
|
+
FileTest.should be_exist("#{tmp_dir}/app/models/widget.rb")
|
37
|
+
end
|
38
|
+
|
39
|
+
it 'has routes file' do
|
40
|
+
FileTest.should be_exist("#{tmp_dir}/config/routes.rb")
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
data/spec/project_note_spec.rb
CHANGED
@@ -18,7 +18,7 @@ describe "ProjectConfig" do
|
|
18
18
|
|
19
19
|
it 'eval' do
|
20
20
|
config.load!
|
21
|
-
config.
|
21
|
+
config.overapps.first.descriptor.should == :foo
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
@@ -30,8 +30,7 @@ describe "ProjectConfig" do
|
|
30
30
|
|
31
31
|
it 'eval' do
|
32
32
|
config.load!
|
33
|
-
config.
|
34
|
-
config.overapps.should == [:bar]
|
33
|
+
config.overapps.map { |x| x.descriptor }.should == [:foo,:bar]
|
35
34
|
end
|
36
35
|
end
|
37
36
|
|
@@ -57,8 +56,8 @@ describe 'Project' do
|
|
57
56
|
end
|
58
57
|
|
59
58
|
it 'overapps' do
|
60
|
-
project.overapps.size.should ==
|
61
|
-
project.
|
59
|
+
project.overapps.size.should == 3
|
60
|
+
project.overapp_entries.last.descriptor.should == "/fun"
|
62
61
|
end
|
63
62
|
end
|
64
63
|
|
@@ -80,7 +79,7 @@ describe 'Project with command' do
|
|
80
79
|
end
|
81
80
|
|
82
81
|
it 'commands' do
|
83
|
-
project.commands(:after).should == ["ls"]
|
82
|
+
#project.commands(:after).should == ["ls"]
|
84
83
|
end
|
85
84
|
end
|
86
85
|
|
@@ -101,17 +100,23 @@ describe 'Project order' do
|
|
101
100
|
Overapp::Files.stub(:load) { Overapp::Files.new }
|
102
101
|
end
|
103
102
|
|
104
|
-
|
105
|
-
|
103
|
+
if false
|
104
|
+
it 'write' do
|
105
|
+
output_path = "/tmp/f/t/r/r"
|
106
106
|
|
107
|
-
|
108
|
-
|
109
|
-
|
107
|
+
Overapp.should_receive(:ec).with("cd #{output_path} && ls", :silent => true)
|
108
|
+
Overapp::Project::Write.class_eval do
|
109
|
+
def git_commit(*args)
|
110
|
+
end
|
111
|
+
end
|
112
|
+
project.combined_files("/tmp/sdfdsdfsd").stub("write_to!")
|
110
113
|
|
111
|
-
|
114
|
+
project.write_to! output_path
|
115
|
+
end
|
112
116
|
end
|
113
117
|
end
|
114
118
|
|
119
|
+
if false
|
115
120
|
describe 'Project with no base' do
|
116
121
|
let(:config_body) do
|
117
122
|
"c.base 'mkdir foo && echo stuff > foo/abc.txt', :type => :command, :path => :foo"
|
@@ -124,7 +129,7 @@ describe 'Project with no base' do
|
|
124
129
|
end
|
125
130
|
|
126
131
|
after do
|
127
|
-
|
132
|
+
#`rm -rf #{output_path}`
|
128
133
|
end
|
129
134
|
|
130
135
|
let(:project) do
|
@@ -143,6 +148,7 @@ describe 'Project with no base' do
|
|
143
148
|
File.read("#{output_path}/abc.txt").strip.should == 'stuff'
|
144
149
|
end
|
145
150
|
end
|
151
|
+
end
|
146
152
|
|
147
153
|
|
148
154
|
describe "write project" do
|
data/spec/spec_helper.rb
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
require 'spork'
|
3
|
+
require 'mharris_ext'
|
4
|
+
|
5
|
+
class SpecGitDir
|
6
|
+
include FromHash
|
7
|
+
attr_accessor :dir
|
8
|
+
|
9
|
+
def setup!
|
10
|
+
`cp -r #{dir}/git_dir #{dir}/.git` unless FileTest.exist?("#{dir}/.git")
|
11
|
+
end
|
12
|
+
|
13
|
+
def teardown!
|
14
|
+
`rm -rf #{dir}/.git` if FileTest.exist?("#{dir}/.git")
|
15
|
+
end
|
16
|
+
|
17
|
+
class << self
|
18
|
+
def make(name)
|
19
|
+
dir = File.dirname(__FILE__) + "/input/#{name}"
|
20
|
+
new(:dir => dir)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
3
24
|
|
4
25
|
|
5
26
|
Spork.prefork do
|
@@ -19,7 +40,21 @@ Spork.prefork do
|
|
19
40
|
|
20
41
|
RSpec.configure do |config|
|
21
42
|
#config.filter_run :focus => true
|
22
|
-
config.fail_fast =
|
43
|
+
config.fail_fast = true
|
44
|
+
|
45
|
+
repo_dirs = %w(repo)
|
46
|
+
|
47
|
+
config.before(:all) do
|
48
|
+
repo_dirs.each do |dir|
|
49
|
+
SpecGitDir.make(dir).setup!
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
config.after(:all) do
|
54
|
+
repo_dirs.each do |dir|
|
55
|
+
SpecGitDir.make(dir).teardown!
|
56
|
+
end
|
57
|
+
end
|
23
58
|
end
|
24
59
|
end
|
25
60
|
|
data/spec/support/output_dir.rb
CHANGED
@@ -1,14 +1,11 @@
|
|
1
1
|
shared_context "output dir" do
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
let(:output_dir) do
|
3
|
+
Overapp::TmpDir.with
|
4
|
+
end
|
5
|
+
before do
|
6
|
+
output_dir
|
7
7
|
end
|
8
|
-
|
9
|
-
let(:output_dir) { make_fresh_output_dir }
|
10
|
-
|
11
8
|
after do
|
12
|
-
|
9
|
+
ec "rm -rf #{output_dir}", :silent => true
|
13
10
|
end
|
14
11
|
end
|
data/tmp/.gitkeep
ADDED
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: overapp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Harris
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mharris_ext
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ! '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.7.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ! '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 1.7.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: andand
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -186,20 +186,74 @@ files:
|
|
186
186
|
- lib/overapp.rb
|
187
187
|
- lib/overapp/files.rb
|
188
188
|
- lib/overapp/from_command.rb
|
189
|
+
- lib/overapp/load/base.rb
|
190
|
+
- lib/overapp/load/factory.rb
|
191
|
+
- lib/overapp/load/instance.rb
|
192
|
+
- lib/overapp/load/types/command.rb
|
193
|
+
- lib/overapp/load/types/empty.rb
|
194
|
+
- lib/overapp/load/types/local_dir.rb
|
195
|
+
- lib/overapp/load/types/project.rb
|
196
|
+
- lib/overapp/load/types/raw_dir.rb
|
197
|
+
- lib/overapp/load/types/repo.rb
|
189
198
|
- lib/overapp/project.rb
|
199
|
+
- lib/overapp/project/config.rb
|
200
|
+
- lib/overapp/project/config_entry.rb
|
201
|
+
- lib/overapp/project/write.rb
|
190
202
|
- lib/overapp/template_file.rb
|
191
|
-
- lib/overapp/
|
203
|
+
- lib/overapp/util/cmd.rb
|
204
|
+
- lib/overapp/util/dir.rb
|
205
|
+
- lib/overapp/util/git.rb
|
206
|
+
- lib/overapp/util/tmp_dir.rb
|
207
|
+
- lib/overapp/util/write.rb
|
192
208
|
- overapp.gemspec
|
193
209
|
- spec/from_command_spec.rb
|
210
|
+
- spec/input/rails_post_overlay/.overapp
|
211
|
+
- spec/input/rails_post_overlay/app/models/post.rb
|
212
|
+
- spec/input/rails_widget_overlay/.overapp
|
213
|
+
- spec/input/rails_widget_overlay/app/models/widget.rb
|
214
|
+
- spec/input/repo/.abc
|
215
|
+
- spec/input/repo/README.md
|
216
|
+
- spec/input/repo/b.txt
|
217
|
+
- spec/input/repo/git_dir/COMMIT_EDITMSG
|
218
|
+
- spec/input/repo/git_dir/HEAD
|
219
|
+
- spec/input/repo/git_dir/MERGE_RR
|
220
|
+
- spec/input/repo/git_dir/config
|
221
|
+
- spec/input/repo/git_dir/description
|
222
|
+
- spec/input/repo/git_dir/hooks/applypatch-msg.sample
|
223
|
+
- spec/input/repo/git_dir/hooks/commit-msg.sample
|
224
|
+
- spec/input/repo/git_dir/hooks/post-update.sample
|
225
|
+
- spec/input/repo/git_dir/hooks/pre-applypatch.sample
|
226
|
+
- spec/input/repo/git_dir/hooks/pre-commit.sample
|
227
|
+
- spec/input/repo/git_dir/hooks/pre-push.sample
|
228
|
+
- spec/input/repo/git_dir/hooks/pre-rebase.sample
|
229
|
+
- spec/input/repo/git_dir/hooks/prepare-commit-msg.sample
|
230
|
+
- spec/input/repo/git_dir/hooks/update.sample
|
231
|
+
- spec/input/repo/git_dir/index
|
232
|
+
- spec/input/repo/git_dir/info/exclude
|
233
|
+
- spec/input/repo/git_dir/logs/HEAD
|
234
|
+
- spec/input/repo/git_dir/logs/refs/heads/master
|
235
|
+
- spec/input/repo/git_dir/objects/0f/0920d9d41f24629586ec1c20d2283d7df3a950
|
236
|
+
- spec/input/repo/git_dir/objects/16/b5741fe01104ea0bdf50603b4c5d42ae5dcbc1
|
237
|
+
- spec/input/repo/git_dir/objects/20/508dfdb202a80e2c533f259a526205448b0152
|
238
|
+
- spec/input/repo/git_dir/objects/59/c5d2b4bc66e952a99b3b18a89cbc1e6704ffa0
|
239
|
+
- spec/input/repo/git_dir/objects/7b/1c8984cafd98a5b369ef325a85cb80e3985148
|
240
|
+
- spec/input/repo/git_dir/objects/bf/9307f21baa545173db65a417026088a033aa91
|
241
|
+
- spec/input/repo/git_dir/objects/d6/8dd4031d2ad5b7a3829ad7df6635e27a7daa22
|
242
|
+
- spec/input/repo/git_dir/objects/d6/cd9e553ef95332f3b77f70d11d0106ca06071c
|
243
|
+
- spec/input/repo/git_dir/objects/f8/4c814d15674489c0b41035eb4243ccce522511
|
244
|
+
- spec/input/repo/git_dir/refs/heads/master
|
194
245
|
- spec/input/top/.overlay
|
195
246
|
- spec/input/top/b.txt
|
196
247
|
- spec/input/top/c.txt
|
197
248
|
- spec/input/top/place/d.txt
|
249
|
+
- spec/nesting_spec.rb
|
198
250
|
- spec/overapp_spec.rb
|
199
251
|
- spec/project_note_spec.rb
|
200
252
|
- spec/spec_helper.rb
|
201
253
|
- spec/support/output_dir.rb
|
202
254
|
- spec/support/setup.rb
|
255
|
+
- spec/support/tmp_dir.rb
|
256
|
+
- tmp/.gitkeep
|
203
257
|
- vol/input/base/a.txt
|
204
258
|
- vol/input/base/b.txt
|
205
259
|
- vol/input/top/.fstemplate
|