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
7eeec8f2
Commit
7eeec8f2
authored
May 24, 2012
by
Carlos Martín Nieto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
examples/network: consistently use tabs for indentation
parent
88bfe790
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
examples/network/fetch.c
+1
-1
examples/network/index-pack.c
+1
-1
No files found.
examples/network/fetch.c
View file @
7eeec8f2
...
@@ -107,7 +107,7 @@ int fetch(git_repository *repo, int argc, char **argv)
...
@@ -107,7 +107,7 @@ int fetch(git_repository *repo, int argc, char **argv)
return
0
;
return
0
;
on_error:
on_error:
git_remote_free
(
remote
);
git_remote_free
(
remote
);
return
-
1
;
return
-
1
;
}
}
examples/network/index-pack.c
View file @
7eeec8f2
...
@@ -60,7 +60,7 @@ int index_pack(git_repository *repo, int argc, char **argv)
...
@@ -60,7 +60,7 @@ int index_pack(git_repository *repo, int argc, char **argv)
git_oid_fmt
(
hash
,
git_indexer_stream_hash
(
idx
));
git_oid_fmt
(
hash
,
git_indexer_stream_hash
(
idx
));
puts
(
hash
);
puts
(
hash
);
cleanup:
cleanup:
close
(
fd
);
close
(
fd
);
git_indexer_stream_free
(
idx
);
git_indexer_stream_free
(
idx
);
return
error
;
return
error
;
...
...
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