Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
404dd024
Commit
404dd024
authored
Dec 05, 2020
by
Edward Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
threads: rename thread files to thread.[ch]
parent
ab772974
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
10 additions
and
10 deletions
+10
-10
src/cache.c
+1
-1
src/cache.h
+1
-1
src/common.h
+1
-1
src/libgit2.c
+1
-1
src/pack-objects.c
+1
-1
src/sortedcache.h
+1
-1
src/thread.h
+2
-2
src/util.h
+1
-1
tests/threads/thread_helpers.h
+1
-1
No files found.
src/cache.c
View file @
404dd024
...
...
@@ -9,7 +9,7 @@
#include "repository.h"
#include "commit.h"
#include "thread
-utils
.h"
#include "thread.h"
#include "util.h"
#include "odb.h"
#include "object.h"
...
...
src/cache.h
View file @
404dd024
...
...
@@ -13,7 +13,7 @@
#include "git2/oid.h"
#include "git2/odb.h"
#include "thread
-utils
.h"
#include "thread.h"
#include "oidmap.h"
enum
{
...
...
src/common.h
View file @
404dd024
...
...
@@ -78,7 +78,7 @@
#include "git2/types.h"
#include "git2/errors.h"
#include "errors.h"
#include "thread
-utils
.h"
#include "thread.h"
#include "integer.h"
#include "assert_safe.h"
...
...
src/libgit2.c
View file @
404dd024
...
...
@@ -22,7 +22,7 @@
#include "refs.h"
#include "runtime.h"
#include "sysdir.h"
#include "thread
-utils
.h"
#include "thread.h"
#include "threadstate.h"
#include "git2/global.h"
#include "streams/registry.h"
...
...
src/pack-objects.c
View file @
404dd024
...
...
@@ -12,7 +12,7 @@
#include "iterator.h"
#include "netops.h"
#include "pack.h"
#include "thread
-utils
.h"
#include "thread.h"
#include "tree.h"
#include "util.h"
#include "revwalk.h"
...
...
src/sortedcache.h
View file @
404dd024
...
...
@@ -12,7 +12,7 @@
#include "util.h"
#include "futils.h"
#include "vector.h"
#include "thread
-utils
.h"
#include "thread.h"
#include "pool.h"
#include "strmap.h"
...
...
src/thread
-utils
.h
→
src/thread.h
View file @
404dd024
...
...
@@ -4,8 +4,8 @@
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_thread_
utils_
h__
#define INCLUDE_thread_
utils_
h__
#ifndef INCLUDE_thread_h__
#define INCLUDE_thread_h__
#if defined(GIT_THREADS)
...
...
src/util.h
View file @
404dd024
...
...
@@ -18,7 +18,7 @@
#include "buffer.h"
#include "common.h"
#include "strnlen.h"
#include "thread
-utils
.h"
#include "thread.h"
#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
#define bitsizeof(x) (CHAR_BIT * sizeof(x))
...
...
tests/threads/thread_helpers.h
View file @
404dd024
#include "thread
-utils
.h"
#include "thread.h"
void
run_in_parallel
(
int
repeats
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment