Skip to content

Commit 5b1924f

Browse files
committed
chore: remove duplicate headers
1 parent e6e92dc commit 5b1924f

39 files changed

+1
-685
lines changed

src/git/src/auth.js

-18
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,6 @@
1616
* You should have received a copy of the GNU Affero General Public License
1717
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
*/
19-
/*
20-
* Copyright (C) 2024 Puter Technologies Inc.
21-
*
22-
* This file is part of Puter's Git client.
23-
*
24-
* Puter's Git client is free software: you can redistribute it and/or modify
25-
* it under the terms of the GNU Affero General Public License as published
26-
* by the Free Software Foundation, either version 3 of the License, or
27-
* (at your option) any later version.
28-
*
29-
* This program is distributed in the hope that it will be useful,
30-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
31-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32-
* GNU Affero General Public License for more details.
33-
*
34-
* You should have received a copy of the GNU Affero General Public License
35-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
36-
*/
3719
/**
3820
* Authentication manager
3921
* Eventually this will want to retrieve stored credentials from somewhere, but for now

src/git/src/color.js

-18
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,6 @@
1616
* You should have received a copy of the GNU Affero General Public License
1717
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
*/
19-
/*
20-
* Copyright (C) 2024 Puter Technologies Inc.
21-
*
22-
* This file is part of Puter's Git client.
23-
*
24-
* Puter's Git client is free software: you can redistribute it and/or modify
25-
* it under the terms of the GNU Affero General Public License as published
26-
* by the Free Software Foundation, either version 3 of the License, or
27-
* (at your option) any later version.
28-
*
29-
* This program is distributed in the hope that it will be useful,
30-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
31-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32-
* GNU Affero General Public License for more details.
33-
*
34-
* You should have received a copy of the GNU Affero General Public License
35-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
36-
*/
3719
import chalk from 'chalk';
3820

3921
export const color_options = {

src/git/src/diff.js

-18
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,6 @@
1616
* You should have received a copy of the GNU Affero General Public License
1717
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
*/
19-
/*
20-
* Copyright (C) 2024 Puter Technologies Inc.
21-
*
22-
* This file is part of Puter's Git client.
23-
*
24-
* Puter's Git client is free software: you can redistribute it and/or modify
25-
* it under the terms of the GNU Affero General Public License as published
26-
* by the Free Software Foundation, either version 3 of the License, or
27-
* (at your option) any later version.
28-
*
29-
* This program is distributed in the hope that it will be useful,
30-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
31-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32-
* GNU Affero General Public License for more details.
33-
*
34-
* You should have received a copy of the GNU Affero General Public License
35-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
36-
*/
3719
import * as Diff from 'diff';
3820
import git from 'isomorphic-git';
3921
import path from 'path-browserify';

src/git/src/filesystem.js

-18
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,6 @@
1616
* You should have received a copy of the GNU Affero General Public License
1717
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
*/
19-
/*
20-
* Copyright (C) 2024 Puter Technologies Inc.
21-
*
22-
* This file is part of Puter's Git client.
23-
*
24-
* Puter's Git client is free software: you can redistribute it and/or modify
25-
* it under the terms of the GNU Affero General Public License as published
26-
* by the Free Software Foundation, either version 3 of the License, or
27-
* (at your option) any later version.
28-
*
29-
* This program is distributed in the hope that it will be useful,
30-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
31-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32-
* GNU Affero General Public License for more details.
33-
*
34-
* You should have received a copy of the GNU Affero General Public License
35-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
36-
*/
3719
import { PosixError } from '@heyputer/puter-js-common/src/PosixError.js';
3820
import path_ from 'path-browserify';
3921

src/git/src/format.js

-18
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,6 @@
1616
* You should have received a copy of the GNU Affero General Public License
1717
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
*/
19-
/*
20-
* Copyright (C) 2024 Puter Technologies Inc.
21-
*
22-
* This file is part of Puter's Git client.
23-
*
24-
* Puter's Git client is free software: you can redistribute it and/or modify
25-
* it under the terms of the GNU Affero General Public License as published
26-
* by the Free Software Foundation, either version 3 of the License, or
27-
* (at your option) any later version.
28-
*
29-
* This program is distributed in the hope that it will be useful,
30-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
31-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32-
* GNU Affero General Public License for more details.
33-
*
34-
* You should have received a copy of the GNU Affero General Public License
35-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
36-
*/
3719
import { shorten_hash } from './git-helpers.js';
3820
import chalk from 'chalk';
3921
import { get_matching_refs } from './refs.js';

src/git/src/git-command-definition.js

-18
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,6 @@
1616
* You should have received a copy of the GNU Affero General Public License
1717
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
*/
19-
/*
20-
* Copyright (C) 2024 Puter Technologies Inc.
21-
*
22-
* This file is part of Puter's Git client.
23-
*
24-
* Puter's Git client is free software: you can redistribute it and/or modify
25-
* it under the terms of the GNU Affero General Public License as published
26-
* by the Free Software Foundation, either version 3 of the License, or
27-
* (at your option) any later version.
28-
*
29-
* This program is distributed in the hope that it will be useful,
30-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
31-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32-
* GNU Affero General Public License for more details.
33-
*
34-
* You should have received a copy of the GNU Affero General Public License
35-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
36-
*/
3719

3820
/**
3921
* The command definition for `git` itself, in the same format as subcommands.

src/git/src/git-helpers.js

-18
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,6 @@
1616
* You should have received a copy of the GNU Affero General Public License
1717
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
*/
19-
/*
20-
* Copyright (C) 2024 Puter Technologies Inc.
21-
*
22-
* This file is part of Puter's Git client.
23-
*
24-
* Puter's Git client is free software: you can redistribute it and/or modify
25-
* it under the terms of the GNU Affero General Public License as published
26-
* by the Free Software Foundation, either version 3 of the License, or
27-
* (at your option) any later version.
28-
*
29-
* This program is distributed in the hope that it will be useful,
30-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
31-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32-
* GNU Affero General Public License for more details.
33-
*
34-
* You should have received a copy of the GNU Affero General Public License
35-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
36-
*/
3719
import path from 'path-browserify';
3820
import git from 'isomorphic-git';
3921
import { GrammarContext, standard_parsers } from '@heyputer/parsely/exports.js';

src/git/src/help.js

-18
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,6 @@
1616
* You should have received a copy of the GNU Affero General Public License
1717
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
*/
19-
/*
20-
* Copyright (C) 2024 Puter Technologies Inc.
21-
*
22-
* This file is part of Puter's Git client.
23-
*
24-
* Puter's Git client is free software: you can redistribute it and/or modify
25-
* it under the terms of the GNU Affero General Public License as published
26-
* by the Free Software Foundation, either version 3 of the License, or
27-
* (at your option) any later version.
28-
*
29-
* This program is distributed in the hope that it will be useful,
30-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
31-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32-
* GNU Affero General Public License for more details.
33-
*
34-
* You should have received a copy of the GNU Affero General Public License
35-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
36-
*/
3719

3820
/**
3921
* Throw this from a subcommand's execute() in order to print its usage text to stderr.

src/git/src/main.js

-18
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,6 @@
1616
* You should have received a copy of the GNU Affero General Public License
1717
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
*/
19-
/*
20-
* Copyright (C) 2024 Puter Technologies Inc.
21-
*
22-
* This file is part of Puter's Git client.
23-
*
24-
* Puter's Git client is free software: you can redistribute it and/or modify
25-
* it under the terms of the GNU Affero General Public License as published
26-
* by the Free Software Foundation, either version 3 of the License, or
27-
* (at your option) any later version.
28-
*
29-
* This program is distributed in the hope that it will be useful,
30-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
31-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32-
* GNU Affero General Public License for more details.
33-
*
34-
* You should have received a copy of the GNU Affero General Public License
35-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
36-
*/
3719
import { parseArgs } from '@pkgjs/parseargs';
3820
import subcommands from './subcommands/__exports__.js';
3921
import git_command from './git-command-definition.js';

src/git/src/refs.js

-18
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,6 @@
1616
* You should have received a copy of the GNU Affero General Public License
1717
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
*/
19-
/*
20-
* Copyright (C) 2024 Puter Technologies Inc.
21-
*
22-
* This file is part of Puter's Git client.
23-
*
24-
* Puter's Git client is free software: you can redistribute it and/or modify
25-
* it under the terms of the GNU Affero General Public License as published
26-
* by the Free Software Foundation, either version 3 of the License, or
27-
* (at your option) any later version.
28-
*
29-
* This program is distributed in the hope that it will be useful,
30-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
31-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32-
* GNU Affero General Public License for more details.
33-
*
34-
* You should have received a copy of the GNU Affero General Public License
35-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
36-
*/
3719

3820
// Map of hash -> array of full reference names
3921
import git from 'isomorphic-git';

src/git/src/subcommands/add.js

-18
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,6 @@
1616
* You should have received a copy of the GNU Affero General Public License
1717
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
*/
19-
/*
20-
* Copyright (C) 2024 Puter Technologies Inc.
21-
*
22-
* This file is part of Puter's Git client.
23-
*
24-
* Puter's Git client is free software: you can redistribute it and/or modify
25-
* it under the terms of the GNU Affero General Public License as published
26-
* by the Free Software Foundation, either version 3 of the License, or
27-
* (at your option) any later version.
28-
*
29-
* This program is distributed in the hope that it will be useful,
30-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
31-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32-
* GNU Affero General Public License for more details.
33-
*
34-
* You should have received a copy of the GNU Affero General Public License
35-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
36-
*/
3719
import git from 'isomorphic-git';
3820
import { find_repo_root } from '../git-helpers.js';
3921

src/git/src/subcommands/branch.js

-18
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,6 @@
1616
* You should have received a copy of the GNU Affero General Public License
1717
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
*/
19-
/*
20-
* Copyright (C) 2024 Puter Technologies Inc.
21-
*
22-
* This file is part of Puter's Git client.
23-
*
24-
* Puter's Git client is free software: you can redistribute it and/or modify
25-
* it under the terms of the GNU Affero General Public License as published
26-
* by the Free Software Foundation, either version 3 of the License, or
27-
* (at your option) any later version.
28-
*
29-
* This program is distributed in the hope that it will be useful,
30-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
31-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32-
* GNU Affero General Public License for more details.
33-
*
34-
* You should have received a copy of the GNU Affero General Public License
35-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
36-
*/
3719
import git from 'isomorphic-git';
3820
import { find_repo_root, shorten_hash } from '../git-helpers.js';
3921
import { SHOW_USAGE } from '../help.js';

src/git/src/subcommands/checkout.js

-18
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,6 @@
1616
* You should have received a copy of the GNU Affero General Public License
1717
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
*/
19-
/*
20-
* Copyright (C) 2024 Puter Technologies Inc.
21-
*
22-
* This file is part of Puter's Git client.
23-
*
24-
* Puter's Git client is free software: you can redistribute it and/or modify
25-
* it under the terms of the GNU Affero General Public License as published
26-
* by the Free Software Foundation, either version 3 of the License, or
27-
* (at your option) any later version.
28-
*
29-
* This program is distributed in the hope that it will be useful,
30-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
31-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32-
* GNU Affero General Public License for more details.
33-
*
34-
* You should have received a copy of the GNU Affero General Public License
35-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
36-
*/
3719
import git from 'isomorphic-git';
3820
import { find_repo_root, resolve_to_commit, shorten_hash } from '../git-helpers.js';
3921
import { SHOW_USAGE } from '../help.js';

src/git/src/subcommands/cherry-pick.js

-18
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,6 @@
1616
* You should have received a copy of the GNU Affero General Public License
1717
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
*/
19-
/*
20-
* Copyright (C) 2024 Puter Technologies Inc.
21-
*
22-
* This file is part of Puter's Git client.
23-
*
24-
* Puter's Git client is free software: you can redistribute it and/or modify
25-
* it under the terms of the GNU Affero General Public License as published
26-
* by the Free Software Foundation, either version 3 of the License, or
27-
* (at your option) any later version.
28-
*
29-
* This program is distributed in the hope that it will be useful,
30-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
31-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32-
* GNU Affero General Public License for more details.
33-
*
34-
* You should have received a copy of the GNU Affero General Public License
35-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
36-
*/
3719
import git, { TREE } from 'isomorphic-git';
3820
import { find_repo_root, has_staged_changes, resolve_to_commit, shorten_hash } from '../git-helpers.js';
3921
import { SHOW_USAGE } from '../help.js';

src/git/src/subcommands/clone.js

-18
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,6 @@
1616
* You should have received a copy of the GNU Affero General Public License
1717
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
*/
19-
/*
20-
* Copyright (C) 2024 Puter Technologies Inc.
21-
*
22-
* This file is part of Puter's Git client.
23-
*
24-
* Puter's Git client is free software: you can redistribute it and/or modify
25-
* it under the terms of the GNU Affero General Public License as published
26-
* by the Free Software Foundation, either version 3 of the License, or
27-
* (at your option) any later version.
28-
*
29-
* This program is distributed in the hope that it will be useful,
30-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
31-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32-
* GNU Affero General Public License for more details.
33-
*
34-
* You should have received a copy of the GNU Affero General Public License
35-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
36-
*/
3719
import git from 'isomorphic-git';
3820
import http from 'isomorphic-git/http/web';
3921
import { SHOW_USAGE } from '../help.js';

src/git/src/subcommands/commit.js

-18
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,6 @@
1616
* You should have received a copy of the GNU Affero General Public License
1717
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
*/
19-
/*
20-
* Copyright (C) 2024 Puter Technologies Inc.
21-
*
22-
* This file is part of Puter's Git client.
23-
*
24-
* Puter's Git client is free software: you can redistribute it and/or modify
25-
* it under the terms of the GNU Affero General Public License as published
26-
* by the Free Software Foundation, either version 3 of the License, or
27-
* (at your option) any later version.
28-
*
29-
* This program is distributed in the hope that it will be useful,
30-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
31-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32-
* GNU Affero General Public License for more details.
33-
*
34-
* You should have received a copy of the GNU Affero General Public License
35-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
36-
*/
3719
import git from 'isomorphic-git';
3820
import { find_repo_root, shorten_hash } from '../git-helpers.js';
3921

0 commit comments

Comments
 (0)