projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c323ac7
)
git-pack-objects: fix typo
author
Linus Torvalds
<torvalds@ppc970.osdl.org>
Sat, 25 Jun 2005 22:24:30 +0000
(15:24 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Sat, 25 Jun 2005 22:24:30 +0000
(15:24 -0700)
("<" should be "=")
pack-objects.c
patch
|
blob
|
history
diff --git
a/pack-objects.c
b/pack-objects.c
index 322c4bc3e9da508900801a316c6ac4eeac4ab468..9a468bd9fc5e381c559c5ec5ffa2730519eb2014 100644
(file)
--- a/
pack-objects.c
+++ b/
pack-objects.c
@@
-172,7
+172,7
@@
static void write_index_file(void)
* Write the actual SHA1 entries..
*/
list = sorted_by_sha;
- for (i
<
0; i < nr_objects; i++) {
+ for (i
=
0; i < nr_objects; i++) {
struct object_entry *entry = *list++;
unsigned int offset = htonl(entry->offset);
fwrite(&offset, 4, 1, f);