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
4f62d559
Commit
4f62d559
authored
Nov 01, 2013
by
Ben Straub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos
parent
c44820c6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
examples/cat-file.c
+1
-1
examples/network/fetch.c
+2
-2
No files found.
examples/cat-file.c
View file @
4f62d559
...
@@ -31,7 +31,7 @@ static void print_signature(const char *header, const git_signature *sig)
...
@@ -31,7 +31,7 @@ static void print_signature(const char *header, const git_signature *sig)
sign
,
hours
,
minutes
);
sign
,
hours
,
minutes
);
}
}
/** Printin
t
out a blob is simple, get the contents and print */
/** Printin
g
out a blob is simple, get the contents and print */
static
void
show_blob
(
const
git_blob
*
blob
)
static
void
show_blob
(
const
git_blob
*
blob
)
{
{
/* ? Does this need crlf filtering? */
/* ? Does this need crlf filtering? */
...
...
examples/network/fetch.c
View file @
4f62d559
...
@@ -48,7 +48,7 @@ exit:
...
@@ -48,7 +48,7 @@ exit:
}
}
/**
/**
* This function gets called for each remote-trackin
b
branch that gets
* This function gets called for each remote-trackin
g
branch that gets
* updated. The message we output depends on whether it's a new one or
* updated. The message we output depends on whether it's a new one or
* an update.
* an update.
*/
*/
...
@@ -138,7 +138,7 @@ int fetch(git_repository *repo, int argc, char **argv)
...
@@ -138,7 +138,7 @@ int fetch(git_repository *repo, int argc, char **argv)
/**
/**
* If there are local objects (we got a thin pack), then tell
* If there are local objects (we got a thin pack), then tell
* the use
how many obje
ts we saved from having to cross the
* the use
r how many objec
ts we saved from having to cross the
* network.
* network.
*/
*/
if
(
stats
->
local_objects
>
0
)
{
if
(
stats
->
local_objects
>
0
)
{
...
...
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