Skip to content

Commit

Permalink
Remove unused header file
Browse files Browse the repository at this point in the history
  • Loading branch information
stewid committed Oct 5, 2024
1 parent e54f26e commit e9d4ec3
Show file tree
Hide file tree
Showing 32 changed files with 9 additions and 62 deletions.
1 change: 0 additions & 1 deletion src/git2r_arg.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include <git2.h>

#include "git2r_arg.h"
#include "git2r_deprecated.h"
#include "git2r_error.h"
#include "git2r_S3.h"

Expand Down
1 change: 0 additions & 1 deletion src/git2r_blame.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

#include "git2r_arg.h"
#include "git2r_blame.h"
#include "git2r_deprecated.h"
#include "git2r_error.h"
#include "git2r_repository.h"
#include "git2r_S3.h"
Expand Down
1 change: 0 additions & 1 deletion src/git2r_blob.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include <R_ext/Visibility.h>
#include "git2r_arg.h"
#include "git2r_blob.h"
#include "git2r_deprecated.h"
#include "git2r_error.h"
#include "git2r_repository.h"
#include "git2r_S3.h"
Expand Down
1 change: 0 additions & 1 deletion src/git2r_branch.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include "git2r_arg.h"
#include "git2r_branch.h"
#include "git2r_commit.h"
#include "git2r_deprecated.h"
#include "git2r_error.h"
#include "git2r_reference.h"
#include "git2r_repository.h"
Expand Down
1 change: 0 additions & 1 deletion src/git2r_checkout.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

#include "git2r_arg.h"
#include "git2r_checkout.h"
#include "git2r_deprecated.h"
#include "git2r_error.h"
#include "git2r_repository.h"

Expand Down
1 change: 0 additions & 1 deletion src/git2r_clone.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include "git2r_arg.h"
#include "git2r_clone.h"
#include "git2r_cred.h"
#include "git2r_deprecated.h"
#include "git2r_error.h"
#include "git2r_transfer.h"

Expand Down
1 change: 0 additions & 1 deletion src/git2r_commit.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

#include "git2r_arg.h"
#include "git2r_commit.h"
#include "git2r_deprecated.h"
#include "git2r_error.h"
#include "git2r_oid.h"
#include "git2r_repository.h"
Expand Down
1 change: 0 additions & 1 deletion src/git2r_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include <git2.h>

#include "git2r_arg.h"
#include "git2r_deprecated.h"
#include "git2r_error.h"
#include "git2r_repository.h"

Expand Down
1 change: 0 additions & 1 deletion src/git2r_cred.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@

#include "git2r_arg.h"
#include "git2r_cred.h"
#include "git2r_deprecated.h"
#include "git2r_S3.h"
#include "git2r_transfer.h"

Expand Down
1 change: 0 additions & 1 deletion src/git2r_cred.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#define INCLUDE_git2r_cred_h

#include <git2.h>
#include "git2r_deprecated.h"

int git2r_cred_acquire_cb(
git_credential **out,
Expand Down
22 changes: 0 additions & 22 deletions src/git2r_deprecated.h

This file was deleted.

3 changes: 1 addition & 2 deletions src/git2r_diff.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* git2r, R bindings to the libgit2 library.
* Copyright (C) 2013-2020 The git2r contributors
* Copyright (C) 2013-2024 The git2r contributors
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2,
Expand All @@ -18,7 +18,6 @@

#include <R_ext/Visibility.h>
#include "git2r_arg.h"
#include "git2r_deprecated.h"
#include "git2r_diff.h"
#include "git2r_error.h"
#include "git2r_repository.h"
Expand Down
3 changes: 1 addition & 2 deletions src/git2r_graph.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* git2r, R bindings to the libgit2 library.
* Copyright (C) 2013-2020 The git2r contributors
* Copyright (C) 2013-2024 The git2r contributors
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2,
Expand All @@ -20,7 +20,6 @@
#include <git2.h>

#include "git2r_arg.h"
#include "git2r_deprecated.h"
#include "git2r_error.h"
#include "git2r_oid.h"
#include "git2r_repository.h"
Expand Down
3 changes: 1 addition & 2 deletions src/git2r_index.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* git2r, R bindings to the libgit2 library.
* Copyright (C) 2013-2020 The git2r contributors
* Copyright (C) 2013-2024 The git2r contributors
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2,
Expand All @@ -20,7 +20,6 @@
#include <git2.h>

#include "git2r_arg.h"
#include "git2r_deprecated.h"
#include "git2r_error.h"
#include "git2r_index.h"
#include "git2r_repository.h"
Expand Down
3 changes: 1 addition & 2 deletions src/git2r_libgit2.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* git2r, R bindings to the libgit2 library.
* Copyright (C) 2013-2020 The git2r contributors
* Copyright (C) 2013-2024 The git2r contributors
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2,
Expand All @@ -19,7 +19,6 @@
#include <R_ext/Visibility.h>
#include <git2.h>
#include "git2r_arg.h"
#include "git2r_deprecated.h"
#include "git2r_error.h"
#include "git2r_libgit2.h"

Expand Down
1 change: 0 additions & 1 deletion src/git2r_merge.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

#include "git2r_arg.h"
#include "git2r_commit.h"
#include "git2r_deprecated.h"
#include "git2r_error.h"
#include "git2r_merge.h"
#include "git2r_repository.h"
Expand Down
3 changes: 1 addition & 2 deletions src/git2r_note.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* git2r, R bindings to the libgit2 library.
* Copyright (C) 2013-2020 The git2r contributors
* Copyright (C) 2013-2024 The git2r contributors
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2,
Expand All @@ -20,7 +20,6 @@
#include <git2.h>

#include "git2r_arg.h"
#include "git2r_deprecated.h"
#include "git2r_error.h"
#include "git2r_note.h"
#include "git2r_repository.h"
Expand Down
3 changes: 1 addition & 2 deletions src/git2r_object.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* git2r, R bindings to the libgit2 library.
* Copyright (C) 2013-2020 The git2r contributors
* Copyright (C) 2013-2024 The git2r contributors
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2,
Expand All @@ -22,7 +22,6 @@
#include "git2r_arg.h"
#include "git2r_blob.h"
#include "git2r_commit.h"
#include "git2r_deprecated.h"
#include "git2r_error.h"
#include "git2r_repository.h"
#include "git2r_S3.h"
Expand Down
1 change: 0 additions & 1 deletion src/git2r_odb.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include <git2.h>

#include "git2r_arg.h"
#include "git2r_deprecated.h"
#include "git2r_error.h"
#include "git2r_odb.h"
#include "git2r_repository.h"
Expand Down
3 changes: 1 addition & 2 deletions src/git2r_push.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* git2r, R bindings to the libgit2 library.
* Copyright (C) 2013-2020 The git2r contributors
* Copyright (C) 2013-2024 The git2r contributors
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2,
Expand All @@ -21,7 +21,6 @@

#include "git2r_arg.h"
#include "git2r_cred.h"
#include "git2r_deprecated.h"
#include "git2r_error.h"
#include "git2r_push.h"
#include "git2r_repository.h"
Expand Down
1 change: 0 additions & 1 deletion src/git2r_reference.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include <git2.h>

#include "git2r_arg.h"
#include "git2r_deprecated.h"
#include "git2r_error.h"
#include "git2r_reference.h"
#include "git2r_repository.h"
Expand Down
3 changes: 1 addition & 2 deletions src/git2r_reflog.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* git2r, R bindings to the libgit2 library.
* Copyright (C) 2013-2020 The git2r contributors
* Copyright (C) 2013-2024 The git2r contributors
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2,
Expand All @@ -20,7 +20,6 @@
#include <git2.h>

#include "git2r_arg.h"
#include "git2r_deprecated.h"
#include "git2r_error.h"
#include "git2r_reflog.h"
#include "git2r_repository.h"
Expand Down
1 change: 0 additions & 1 deletion src/git2r_remote.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

#include "git2r_arg.h"
#include "git2r_cred.h"
#include "git2r_deprecated.h"
#include "git2r_error.h"
#include "git2r_remote.h"
#include "git2r_repository.h"
Expand Down
3 changes: 1 addition & 2 deletions src/git2r_repository.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* git2r, R bindings to the libgit2 library.
* Copyright (C) 2013-2020 The git2r contributors
* Copyright (C) 2013-2024 The git2r contributors
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2,
Expand All @@ -23,7 +23,6 @@
#include "git2r_blob.h"
#include "git2r_branch.h"
#include "git2r_commit.h"
#include "git2r_deprecated.h"
#include "git2r_error.h"
#include "git2r_repository.h"
#include "git2r_S3.h"
Expand Down
1 change: 0 additions & 1 deletion src/git2r_reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

#include "git2r_arg.h"
#include "git2r_commit.h"
#include "git2r_deprecated.h"
#include "git2r_error.h"
#include "git2r_repository.h"
#include "git2r_reset.h"
Expand Down
1 change: 0 additions & 1 deletion src/git2r_revparse.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include "git2r_arg.h"
#include "git2r_blob.h"
#include "git2r_commit.h"
#include "git2r_deprecated.h"
#include "git2r_error.h"
#include "git2r_repository.h"
#include "git2r_S3.h"
Expand Down
1 change: 0 additions & 1 deletion src/git2r_revwalk.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

#include "git2r_arg.h"
#include "git2r_commit.h"
#include "git2r_deprecated.h"
#include "git2r_error.h"
#include "git2r_oid.h"
#include "git2r_repository.h"
Expand Down
1 change: 0 additions & 1 deletion src/git2r_signature.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

#include <R_ext/Visibility.h>
#include "git2r_error.h"
#include "git2r_deprecated.h"
#include "git2r_repository.h"
#include "git2r_S3.h"
#include "git2r_signature.h"
Expand Down
1 change: 0 additions & 1 deletion src/git2r_stash.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

#include "git2r_arg.h"
#include "git2r_commit.h"
#include "git2r_deprecated.h"
#include "git2r_error.h"
#include "git2r_repository.h"
#include "git2r_S3.h"
Expand Down
1 change: 0 additions & 1 deletion src/git2r_status.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

#include <R_ext/Visibility.h>
#include "git2r_arg.h"
#include "git2r_deprecated.h"
#include "git2r_error.h"
#include "git2r_repository.h"
#include "git2r_status.h"
Expand Down
1 change: 0 additions & 1 deletion src/git2r_tag.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include "git2r_arg.h"
#include "git2r_blob.h"
#include "git2r_commit.h"
#include "git2r_deprecated.h"
#include "git2r_error.h"
#include "git2r_repository.h"
#include "git2r_S3.h"
Expand Down
1 change: 0 additions & 1 deletion src/git2r_tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include <git2.h>

#include "git2r_arg.h"
#include "git2r_deprecated.h"
#include "git2r_error.h"
#include "git2r_repository.h"
#include "git2r_S3.h"
Expand Down

0 comments on commit e9d4ec3

Please sign in to comment.