Skip to content

Commit 1217859

Browse files
committed
Introduce end-of-line normalization
1 parent 7f8b60a commit 1217859

File tree

7 files changed

+126
-125
lines changed

7 files changed

+126
-125
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto
Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
-- Copyright 2010-2012 The myBatis Team
2-
3-
-- Licensed under the Apache License, Version 2.0 (the "License");
4-
-- you may not use this file except in compliance with the License.
5-
-- You may obtain a copy of the License at
6-
7-
-- http://www.apache.org/licenses/LICENSE-2.0
8-
9-
-- Unless required by applicable law or agreed to in writing, software
10-
-- distributed under the License is distributed on an "AS IS" BASIS,
11-
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
-- See the License for the specific language governing permissions and
13-
-- limitations under the License.
14-
15-
-- version: $Id: db.sql 2398 2010-08-29 15:16:24Z simone.tripodi $
16-
17-
create table employees (
18-
id integer not null,
19-
name varchar(80) not null,
20-
salary integer not null,
21-
constraint pk_employee primary key (id)
22-
);
1+
-- Copyright 2010-2012 The myBatis Team
2+
3+
-- Licensed under the Apache License, Version 2.0 (the "License");
4+
-- you may not use this file except in compliance with the License.
5+
-- You may obtain a copy of the License at
6+
7+
-- http://www.apache.org/licenses/LICENSE-2.0
8+
9+
-- Unless required by applicable law or agreed to in writing, software
10+
-- distributed under the License is distributed on an "AS IS" BASIS,
11+
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
-- See the License for the specific language governing permissions and
13+
-- limitations under the License.
14+
15+
-- version: $Id: db.sql 2398 2010-08-29 15:16:24Z simone.tripodi $
16+
17+
create table employees (
18+
id integer not null,
19+
name varchar(80) not null,
20+
salary integer not null,
21+
constraint pk_employee primary key (id)
22+
);
Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
-- Copyright 2010-2012 The myBatis Team
2-
3-
-- Licensed under the Apache License, Version 2.0 (the "License");
4-
-- you may not use this file except in compliance with the License.
5-
-- You may obtain a copy of the License at
6-
7-
-- http://www.apache.org/licenses/LICENSE-2.0
8-
9-
-- Unless required by applicable law or agreed to in writing, software
10-
-- distributed under the License is distributed on an "AS IS" BASIS,
11-
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
-- See the License for the specific language governing permissions and
13-
-- limitations under the License.
14-
15-
-- version: $Id: db.sql 2398 2010-08-29 15:16:24Z simone.tripodi $
16-
17-
insert into employees VALUES ( 1, 'Pocoyo' , 1000);
18-
insert into employees VALUES ( 2, 'Pato' , 2000);
19-
insert into employees VALUES ( 3, 'Eli' , 3000);
20-
insert into employees VALUES ( 4, 'Valentina' , 4000);
1+
-- Copyright 2010-2012 The myBatis Team
2+
3+
-- Licensed under the Apache License, Version 2.0 (the "License");
4+
-- you may not use this file except in compliance with the License.
5+
-- You may obtain a copy of the License at
6+
7+
-- http://www.apache.org/licenses/LICENSE-2.0
8+
9+
-- Unless required by applicable law or agreed to in writing, software
10+
-- distributed under the License is distributed on an "AS IS" BASIS,
11+
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
-- See the License for the specific language governing permissions and
13+
-- limitations under the License.
14+
15+
-- version: $Id: db.sql 2398 2010-08-29 15:16:24Z simone.tripodi $
16+
17+
insert into employees VALUES ( 1, 'Pocoyo' , 1000);
18+
insert into employees VALUES ( 2, 'Pato' , 2000);
19+
insert into employees VALUES ( 3, 'Eli' , 3000);
20+
insert into employees VALUES ( 4, 'Valentina' , 4000);
Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
-- Copyright 2010-2012 The myBatis Team
2-
3-
-- Licensed under the Apache License, Version 2.0 (the "License");
4-
-- you may not use this file except in compliance with the License.
5-
-- You may obtain a copy of the License at
6-
7-
-- http://www.apache.org/licenses/LICENSE-2.0
8-
9-
-- Unless required by applicable law or agreed to in writing, software
10-
-- distributed under the License is distributed on an "AS IS" BASIS,
11-
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
-- See the License for the specific language governing permissions and
13-
-- limitations under the License.
14-
15-
-- version: $Id: db.sql 2398 2010-08-29 15:16:24Z simone.tripodi $
16-
17-
create table users (
18-
id varchar(80) not null,
19-
name varchar(80) not null,
20-
constraint pk_user primary key (id)
21-
);
1+
-- Copyright 2010-2012 The myBatis Team
2+
3+
-- Licensed under the Apache License, Version 2.0 (the "License");
4+
-- you may not use this file except in compliance with the License.
5+
-- You may obtain a copy of the License at
6+
7+
-- http://www.apache.org/licenses/LICENSE-2.0
8+
9+
-- Unless required by applicable law or agreed to in writing, software
10+
-- distributed under the License is distributed on an "AS IS" BASIS,
11+
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
-- See the License for the specific language governing permissions and
13+
-- limitations under the License.
14+
15+
-- version: $Id: db.sql 2398 2010-08-29 15:16:24Z simone.tripodi $
16+
17+
create table users (
18+
id varchar(80) not null,
19+
name varchar(80) not null,
20+
constraint pk_user primary key (id)
21+
);
Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
-- Copyright 2010-2012 The myBatis Team
2-
3-
-- Licensed under the Apache License, Version 2.0 (the "License");
4-
-- you may not use this file except in compliance with the License.
5-
-- You may obtain a copy of the License at
6-
7-
-- http://www.apache.org/licenses/LICENSE-2.0
8-
9-
-- Unless required by applicable law or agreed to in writing, software
10-
-- distributed under the License is distributed on an "AS IS" BASIS,
11-
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
-- See the License for the specific language governing permissions and
13-
-- limitations under the License.
14-
15-
-- version: $Id: db.sql 2398 2010-08-29 15:16:24Z simone.tripodi $
16-
17-
insert into users VALUES ( 'u1', 'Pocoyo' );
18-
insert into users VALUES ( 'u2', 'Pato' );
19-
insert into users VALUES ( 'u3', 'Eli' );
20-
insert into users VALUES ( 'u4', 'Valentina' );
1+
-- Copyright 2010-2012 The myBatis Team
2+
3+
-- Licensed under the Apache License, Version 2.0 (the "License");
4+
-- you may not use this file except in compliance with the License.
5+
-- You may obtain a copy of the License at
6+
7+
-- http://www.apache.org/licenses/LICENSE-2.0
8+
9+
-- Unless required by applicable law or agreed to in writing, software
10+
-- distributed under the License is distributed on an "AS IS" BASIS,
11+
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
-- See the License for the specific language governing permissions and
13+
-- limitations under the License.
14+
15+
-- version: $Id: db.sql 2398 2010-08-29 15:16:24Z simone.tripodi $
16+
17+
insert into users VALUES ( 'u1', 'Pocoyo' );
18+
insert into users VALUES ( 'u2', 'Pato' );
19+
insert into users VALUES ( 'u3', 'Eli' );
20+
insert into users VALUES ( 'u4', 'Valentina' );
Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
-- Copyright 2010-2012 The myBatis Team
2-
3-
-- Licensed under the Apache License, Version 2.0 (the "License");
4-
-- you may not use this file except in compliance with the License.
5-
-- You may obtain a copy of the License at
6-
7-
-- http://www.apache.org/licenses/LICENSE-2.0
8-
9-
-- Unless required by applicable law or agreed to in writing, software
10-
-- distributed under the License is distributed on an "AS IS" BASIS,
11-
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
-- See the License for the specific language governing permissions and
13-
-- limitations under the License.
14-
15-
-- version: $Id: db.sql 2398 2010-08-29 15:16:24Z simone.tripodi $
16-
17-
create table bar (
18-
id varchar(80) not null,
19-
name varchar(80) not null,
20-
constraint pk_user primary key (id)
21-
);
1+
-- Copyright 2010-2012 The myBatis Team
2+
3+
-- Licensed under the Apache License, Version 2.0 (the "License");
4+
-- you may not use this file except in compliance with the License.
5+
-- You may obtain a copy of the License at
6+
7+
-- http://www.apache.org/licenses/LICENSE-2.0
8+
9+
-- Unless required by applicable law or agreed to in writing, software
10+
-- distributed under the License is distributed on an "AS IS" BASIS,
11+
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
-- See the License for the specific language governing permissions and
13+
-- limitations under the License.
14+
15+
-- version: $Id: db.sql 2398 2010-08-29 15:16:24Z simone.tripodi $
16+
17+
create table bar (
18+
id varchar(80) not null,
19+
name varchar(80) not null,
20+
constraint pk_user primary key (id)
21+
);
Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
-- Copyright 2010-2012 The myBatis Team
2-
3-
-- Licensed under the Apache License, Version 2.0 (the "License");
4-
-- you may not use this file except in compliance with the License.
5-
-- You may obtain a copy of the License at
6-
7-
-- http://www.apache.org/licenses/LICENSE-2.0
8-
9-
-- Unless required by applicable law or agreed to in writing, software
10-
-- distributed under the License is distributed on an "AS IS" BASIS,
11-
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
-- See the License for the specific language governing permissions and
13-
-- limitations under the License.
14-
15-
-- version: $Id: db.sql 2398 2010-08-29 15:16:24Z simone.tripodi $
16-
17-
create table foo (
18-
id varchar(80) not null,
19-
name varchar(80) not null,
20-
constraint pk_user primary key (id)
21-
);
1+
-- Copyright 2010-2012 The myBatis Team
2+
3+
-- Licensed under the Apache License, Version 2.0 (the "License");
4+
-- you may not use this file except in compliance with the License.
5+
-- You may obtain a copy of the License at
6+
7+
-- http://www.apache.org/licenses/LICENSE-2.0
8+
9+
-- Unless required by applicable law or agreed to in writing, software
10+
-- distributed under the License is distributed on an "AS IS" BASIS,
11+
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
-- See the License for the specific language governing permissions and
13+
-- limitations under the License.
14+
15+
-- version: $Id: db.sql 2398 2010-08-29 15:16:24Z simone.tripodi $
16+
17+
create table foo (
18+
id varchar(80) not null,
19+
name varchar(80) not null,
20+
constraint pk_user primary key (id)
21+
);

0 commit comments

Comments
 (0)