From fdf33cf50c2747976bc683ccd74b55d4c14053e0 Mon Sep 17 00:00:00 2001
From: Teddy Wing
Date: Tue, 4 Aug 2020 20:09:52 +0200
Subject: Add license (GNU GPLv3+)
---
src/arg.rs | 16 ++++++++++++++++
src/bin/git-sugapply.rs | 16 ++++++++++++++++
src/bin/git-sugpatch.rs | 16 ++++++++++++++++
src/config.rs | 16 ++++++++++++++++
src/error.rs | 16 ++++++++++++++++
src/lib.rs | 16 ++++++++++++++++
src/owner_repo.rs | 16 ++++++++++++++++
src/suggestion.rs | 16 ++++++++++++++++
8 files changed, 128 insertions(+)
(limited to 'src')
diff --git a/src/arg.rs b/src/arg.rs
index d1d62d9..f0950dc 100644
--- a/src/arg.rs
+++ b/src/arg.rs
@@ -1,3 +1,19 @@
+// Copyright (c) 2020 Teddy Wing
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
+
use regex::{self, Regex};
diff --git a/src/bin/git-sugapply.rs b/src/bin/git-sugapply.rs
index 18d670c..ebea4ab 100644
--- a/src/bin/git-sugapply.rs
+++ b/src/bin/git-sugapply.rs
@@ -1,3 +1,19 @@
+// Copyright (c) 2020 Teddy Wing
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
+
use std::env;
use std::process;
diff --git a/src/bin/git-sugpatch.rs b/src/bin/git-sugpatch.rs
index 58d9a04..615bcff 100644
--- a/src/bin/git-sugpatch.rs
+++ b/src/bin/git-sugpatch.rs
@@ -1,3 +1,19 @@
+// Copyright (c) 2020 Teddy Wing
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
+
use std::env;
use std::process;
diff --git a/src/config.rs b/src/config.rs
index f451ea5..d8732d4 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -1,3 +1,19 @@
+// Copyright (c) 2020 Teddy Wing
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
+
use std::env;
use std::process;
diff --git a/src/error.rs b/src/error.rs
index 6b369f0..1a5f99d 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -1,3 +1,19 @@
+// Copyright (c) 2020 Teddy Wing
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
+
use regex;
use thiserror::Error;
diff --git a/src/lib.rs b/src/lib.rs
index 76e6fd4..314d130 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,3 +1,19 @@
+// Copyright (c) 2020 Teddy Wing
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
+
#![warn(rust_2018_idioms)]
pub mod config;
diff --git a/src/owner_repo.rs b/src/owner_repo.rs
index 6098ff0..ea5a510 100644
--- a/src/owner_repo.rs
+++ b/src/owner_repo.rs
@@ -1,3 +1,19 @@
+// Copyright (c) 2020 Teddy Wing
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
+
use std::str::FromStr;
use git2::Repository;
diff --git a/src/suggestion.rs b/src/suggestion.rs
index 9f23a0d..ae764b7 100644
--- a/src/suggestion.rs
+++ b/src/suggestion.rs
@@ -1,3 +1,19 @@
+// Copyright (c) 2020 Teddy Wing
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
+
use std::process;
use exitcode;
--
cgit v1.2.3