t / t9151 / svn-mergeinfo.dumpon commit git-svn: add test data for SVN 1.5+ merge, with script. (ce62683)
   1SVN-fs-dump-format-version: 2
   2
   3UUID: 1ce241d1-ba54-4eb9-bded-03057fe48a33
   4
   5Revision-number: 0
   6Prop-content-length: 56
   7Content-length: 56
   8
   9K 8
  10svn:date
  11V 27
  122009-10-20T01:33:37.692723Z
  13PROPS-END
  14
  15Revision-number: 1
  16Prop-content-length: 123
  17Content-length: 123
  18
  19K 7
  20svn:log
  21V 24
  22Setup trunk and branches
  23K 10
  24svn:author
  25V 4
  26samv
  27K 8
  28svn:date
  29V 27
  302009-10-20T01:33:38.159933Z
  31PROPS-END
  32
  33Node-path: branches
  34Node-kind: dir
  35Node-action: add
  36Prop-content-length: 10
  37Content-length: 10
  38
  39PROPS-END
  40
  41
  42Node-path: trunk
  43Node-kind: dir
  44Node-action: add
  45Prop-content-length: 10
  46Content-length: 10
  47
  48PROPS-END
  49
  50
  51Revision-number: 2
  52Prop-content-length: 106
  53Content-length: 106
  54
  55K 7
  56svn:log
  57V 8
  58ancestor
  59K 10
  60svn:author
  61V 4
  62samv
  63K 8
  64svn:date
  65V 27
  662009-10-20T01:33:39.160059Z
  67PROPS-END
  68
  69Node-path: trunk/Makefile
  70Node-kind: file
  71Node-action: add
  72Prop-content-length: 10
  73Text-content-length: 2401
  74Text-content-md5: bfd8ff778d1492dc6758567373176a89
  75Content-length: 2411
  76
  77PROPS-END
  78# -DCOLLISION_CHECK if you believe that SHA1's
  79# 1461501637330902918203684832716283019655932542976 hashes do not give you
  80# enough guarantees about no collisions between objects ever hapenning.
  81#
  82# -DNSEC if you want git to care about sub-second file mtimes and ctimes.
  83# Note that you need some new glibc (at least >2.2.4) for this, and it will
  84# BREAK YOUR LOCAL DIFFS! show-diff and anything using it will likely randomly
  85# break unless your underlying filesystem supports those sub-second times
  86# (my ext3 doesn't).
  87CFLAGS=-g -O3 -Wall
  88
  89CC=gcc
  90
  91
  92PROG=   update-cache show-diff init-db write-tree read-tree commit-tree \
  93        cat-file fsck-cache checkout-cache diff-tree rev-tree show-files \
  94        check-files ls-tree merge-base
  95
  96all: $(PROG)
  97
  98install: $(PROG)
  99        install $(PROG) $(HOME)/bin/
 100
 101LIBS= -lssl -lz
 102
 103init-db: init-db.o
 104
 105update-cache: update-cache.o read-cache.o
 106        $(CC) $(CFLAGS) -o update-cache update-cache.o read-cache.o $(LIBS)
 107
 108show-diff: show-diff.o read-cache.o
 109        $(CC) $(CFLAGS) -o show-diff show-diff.o read-cache.o $(LIBS)
 110
 111write-tree: write-tree.o read-cache.o
 112        $(CC) $(CFLAGS) -o write-tree write-tree.o read-cache.o $(LIBS)
 113
 114read-tree: read-tree.o read-cache.o
 115        $(CC) $(CFLAGS) -o read-tree read-tree.o read-cache.o $(LIBS)
 116
 117commit-tree: commit-tree.o read-cache.o
 118        $(CC) $(CFLAGS) -o commit-tree commit-tree.o read-cache.o $(LIBS)
 119
 120cat-file: cat-file.o read-cache.o
 121        $(CC) $(CFLAGS) -o cat-file cat-file.o read-cache.o $(LIBS)
 122
 123fsck-cache: fsck-cache.o read-cache.o
 124        $(CC) $(CFLAGS) -o fsck-cache fsck-cache.o read-cache.o $(LIBS)
 125
 126checkout-cache: checkout-cache.o read-cache.o
 127        $(CC) $(CFLAGS) -o checkout-cache checkout-cache.o read-cache.o $(LIBS)
 128
 129diff-tree: diff-tree.o read-cache.o
 130        $(CC) $(CFLAGS) -o diff-tree diff-tree.o read-cache.o $(LIBS)
 131
 132rev-tree: rev-tree.o read-cache.o
 133        $(CC) $(CFLAGS) -o rev-tree rev-tree.o read-cache.o $(LIBS)
 134
 135show-files: show-files.o read-cache.o
 136        $(CC) $(CFLAGS) -o show-files show-files.o read-cache.o $(LIBS)
 137
 138check-files: check-files.o read-cache.o
 139        $(CC) $(CFLAGS) -o check-files check-files.o read-cache.o $(LIBS)
 140
 141ls-tree: ls-tree.o read-cache.o
 142        $(CC) $(CFLAGS) -o ls-tree ls-tree.o read-cache.o $(LIBS)
 143
 144merge-base: merge-base.o read-cache.o
 145        $(CC) $(CFLAGS) -o merge-base merge-base.o read-cache.o $(LIBS)
 146
 147read-cache.o: cache.h
 148show-diff.o: cache.h
 149
 150clean:
 151        rm -f *.o $(PROG)
 152
 153backup: clean
 154        cd .. ; tar czvf dircache.tar.gz dir-cache
 155
 156
 157Revision-number: 3
 158Prop-content-length: 115
 159Content-length: 115
 160
 161K 7
 162svn:log
 163V 16
 164make left branch
 165K 10
 166svn:author
 167V 4
 168samv
 169K 8
 170svn:date
 171V 27
 1722009-10-20T01:33:41.148192Z
 173PROPS-END
 174
 175Node-path: branches/left
 176Node-kind: dir
 177Node-action: add
 178Node-copyfrom-rev: 1
 179Node-copyfrom-path: trunk
 180Prop-content-length: 34
 181Content-length: 34
 182
 183K 13
 184svn:mergeinfo
 185V 0
 186
 187PROPS-END
 188
 189
 190Node-path: branches/left/Makefile
 191Node-kind: file
 192Node-action: add
 193Node-copyfrom-rev: 2
 194Node-copyfrom-path: trunk/Makefile
 195Text-copy-source-md5: bfd8ff778d1492dc6758567373176a89
 196
 197
 198Revision-number: 4
 199Prop-content-length: 112
 200Content-length: 112
 201
 202K 7
 203svn:log
 204V 13
 205left update 1
 206K 10
 207svn:author
 208V 4
 209samv
 210K 8
 211svn:date
 212V 27
 2132009-10-20T01:33:42.148773Z
 214PROPS-END
 215
 216Node-path: branches/left/Makefile
 217Node-kind: file
 218Node-action: change
 219Text-content-length: 2465
 220Text-content-md5: 16e38d9753b061731650561ce01b1195
 221Content-length: 2465
 222
 223# -DCOLLISION_CHECK if you believe that SHA1's
 224# 1461501637330902918203684832716283019655932542976 hashes do not give you
 225# enough guarantees about no collisions between objects ever hapenning.
 226#
 227# -DNSEC if you want git to care about sub-second file mtimes and ctimes.
 228# Note that you need some new glibc (at least >2.2.4) for this, and it will
 229# BREAK YOUR LOCAL DIFFS! show-diff and anything using it will likely randomly
 230# break unless your underlying filesystem supports those sub-second times
 231# (my ext3 doesn't).
 232CFLAGS=-g -O3 -Wall
 233
 234CC=gcc
 235
 236
 237PROG=   update-cache show-diff init-db write-tree read-tree commit-tree \
 238        cat-file fsck-cache checkout-cache diff-tree rev-tree show-files \
 239        check-files ls-tree merge-base
 240
 241all: $(PROG)
 242
 243install: $(PROG)
 244        install $(PROG) $(HOME)/bin/
 245
 246LIBS= -lssl -lz
 247
 248init-db: init-db.o
 249
 250update-cache: update-cache.o read-cache.o
 251        $(CC) $(CFLAGS) -o update-cache update-cache.o read-cache.o $(LIBS)
 252
 253show-diff: show-diff.o read-cache.o
 254        $(CC) $(CFLAGS) -o show-diff show-diff.o read-cache.o $(LIBS)
 255
 256write-tree: write-tree.o read-cache.o
 257        $(CC) $(CFLAGS) -o write-tree write-tree.o read-cache.o $(LIBS)
 258
 259read-tree: read-tree.o read-cache.o
 260        $(CC) $(CFLAGS) -o read-tree read-tree.o read-cache.o $(LIBS)
 261
 262commit-tree: commit-tree.o read-cache.o
 263        $(CC) $(CFLAGS) -o commit-tree commit-tree.o read-cache.o $(LIBS)
 264
 265cat-file: cat-file.o read-cache.o
 266        $(CC) $(CFLAGS) -o cat-file cat-file.o read-cache.o $(LIBS)
 267
 268fsck-cache: fsck-cache.o read-cache.o
 269        $(CC) $(CFLAGS) -o fsck-cache fsck-cache.o read-cache.o $(LIBS)
 270
 271checkout-cache: checkout-cache.o read-cache.o
 272        $(CC) $(CFLAGS) -o checkout-cache checkout-cache.o read-cache.o $(LIBS)
 273
 274diff-tree: diff-tree.o read-cache.o
 275        $(CC) $(CFLAGS) -o diff-tree diff-tree.o read-cache.o $(LIBS)
 276
 277rev-tree: rev-tree.o read-cache.o object.o commit.o tree.o blob.o
 278        $(CC) $(CFLAGS) -o rev-tree rev-tree.o read-cache.o object.o commit.o tree.o blob.o $(LIBS)
 279
 280show-files: show-files.o read-cache.o
 281        $(CC) $(CFLAGS) -o show-files show-files.o read-cache.o $(LIBS)
 282
 283check-files: check-files.o read-cache.o
 284        $(CC) $(CFLAGS) -o check-files check-files.o read-cache.o $(LIBS)
 285
 286ls-tree: ls-tree.o read-cache.o
 287        $(CC) $(CFLAGS) -o ls-tree ls-tree.o read-cache.o $(LIBS)
 288
 289merge-base: merge-base.o read-cache.o
 290        $(CC) $(CFLAGS) -o merge-base merge-base.o read-cache.o $(LIBS)
 291
 292read-cache.o: cache.h
 293show-diff.o: cache.h
 294
 295clean:
 296        rm -f *.o $(PROG)
 297
 298backup: clean
 299        cd .. ; tar czvf dircache.tar.gz dir-cache
 300
 301
 302Revision-number: 5
 303Prop-content-length: 111
 304Content-length: 111
 305
 306K 7
 307svn:log
 308V 12
 309trunk update
 310K 10
 311svn:author
 312V 4
 313samv
 314K 8
 315svn:date
 316V 27
 3172009-10-20T01:33:43.159959Z
 318PROPS-END
 319
 320Node-path: trunk/Makefile
 321Node-kind: file
 322Node-action: change
 323Text-content-length: 2521
 324Text-content-md5: 0668418a621333f4aa8b6632cd63e2a0
 325Content-length: 2521
 326
 327# -DCOLLISION_CHECK if you believe that SHA1's
 328# 1461501637330902918203684832716283019655932542976 hashes do not give you
 329# enough guarantees about no collisions between objects ever hapenning.
 330#
 331# -DNSEC if you want git to care about sub-second file mtimes and ctimes.
 332# Note that you need some new glibc (at least >2.2.4) for this, and it will
 333# BREAK YOUR LOCAL DIFFS! show-diff and anything using it will likely randomly
 334# break unless your underlying filesystem supports those sub-second times
 335# (my ext3 doesn't).
 336CFLAGS=-g -O3 -Wall
 337
 338CC=gcc
 339
 340
 341PROG=   update-cache show-diff init-db write-tree read-tree commit-tree \
 342        cat-file fsck-cache checkout-cache diff-tree rev-tree show-files \
 343        check-files ls-tree merge-base merge-cache
 344
 345all: $(PROG)
 346
 347install: $(PROG)
 348        install $(PROG) $(HOME)/bin/
 349
 350LIBS= -lssl -lz
 351
 352init-db: init-db.o
 353
 354update-cache: update-cache.o read-cache.o
 355        $(CC) $(CFLAGS) -o update-cache update-cache.o read-cache.o $(LIBS)
 356
 357show-diff: show-diff.o read-cache.o
 358        $(CC) $(CFLAGS) -o show-diff show-diff.o read-cache.o $(LIBS)
 359
 360write-tree: write-tree.o read-cache.o
 361        $(CC) $(CFLAGS) -o write-tree write-tree.o read-cache.o $(LIBS)
 362
 363read-tree: read-tree.o read-cache.o
 364        $(CC) $(CFLAGS) -o read-tree read-tree.o read-cache.o $(LIBS)
 365
 366commit-tree: commit-tree.o read-cache.o
 367        $(CC) $(CFLAGS) -o commit-tree commit-tree.o read-cache.o $(LIBS)
 368
 369cat-file: cat-file.o read-cache.o
 370        $(CC) $(CFLAGS) -o cat-file cat-file.o read-cache.o $(LIBS)
 371
 372fsck-cache: fsck-cache.o read-cache.o
 373        $(CC) $(CFLAGS) -o fsck-cache fsck-cache.o read-cache.o $(LIBS)
 374
 375checkout-cache: checkout-cache.o read-cache.o
 376        $(CC) $(CFLAGS) -o checkout-cache checkout-cache.o read-cache.o $(LIBS)
 377
 378diff-tree: diff-tree.o read-cache.o
 379        $(CC) $(CFLAGS) -o diff-tree diff-tree.o read-cache.o $(LIBS)
 380
 381rev-tree: rev-tree.o read-cache.o
 382        $(CC) $(CFLAGS) -o rev-tree rev-tree.o read-cache.o $(LIBS)
 383
 384show-files: show-files.o read-cache.o
 385        $(CC) $(CFLAGS) -o show-files show-files.o read-cache.o $(LIBS)
 386
 387check-files: check-files.o read-cache.o
 388        $(CC) $(CFLAGS) -o check-files check-files.o read-cache.o $(LIBS)
 389
 390ls-tree: ls-tree.o read-cache.o
 391        $(CC) $(CFLAGS) -o ls-tree ls-tree.o read-cache.o $(LIBS)
 392
 393merge-base: merge-base.o read-cache.o
 394        $(CC) $(CFLAGS) -o merge-base merge-base.o read-cache.o $(LIBS)
 395
 396merge-cache: merge-cache.o read-cache.o
 397        $(CC) $(CFLAGS) -o merge-cache merge-cache.o read-cache.o $(LIBS)
 398
 399read-cache.o: cache.h
 400show-diff.o: cache.h
 401
 402clean:
 403        rm -f *.o $(PROG)
 404
 405backup: clean
 406        cd .. ; tar czvf dircache.tar.gz dir-cache
 407
 408
 409Revision-number: 6
 410Prop-content-length: 112
 411Content-length: 112
 412
 413K 7
 414svn:log
 415V 13
 416left update 2
 417K 10
 418svn:author
 419V 4
 420samv
 421K 8
 422svn:date
 423V 27
 4242009-10-20T01:33:44.164175Z
 425PROPS-END
 426
 427Node-path: branches/left/Makefile
 428Node-kind: file
 429Node-action: change
 430Text-content-length: 2529
 431Text-content-md5: f6b197cc3f2e89a83e545d4bb003de73
 432Content-length: 2529
 433
 434# -DCOLLISION_CHECK if you believe that SHA1's
 435# 1461501637330902918203684832716283019655932542976 hashes do not give you
 436# enough guarantees about no collisions between objects ever hapenning.
 437#
 438# -DNSEC if you want git to care about sub-second file mtimes and ctimes.
 439# Note that you need some new glibc (at least >2.2.4) for this, and it will
 440# BREAK YOUR LOCAL DIFFS! show-diff and anything using it will likely randomly
 441# break unless your underlying filesystem supports those sub-second times
 442# (my ext3 doesn't).
 443CFLAGS=-g -O3 -Wall
 444
 445CC=gcc
 446
 447
 448PROG=   update-cache show-diff init-db write-tree read-tree commit-tree \
 449        cat-file fsck-cache checkout-cache diff-tree rev-tree show-files \
 450        check-files ls-tree merge-base
 451
 452all: $(PROG)
 453
 454install: $(PROG)
 455        install $(PROG) $(HOME)/bin/
 456
 457LIBS= -lssl -lz
 458
 459init-db: init-db.o
 460
 461update-cache: update-cache.o read-cache.o
 462        $(CC) $(CFLAGS) -o update-cache update-cache.o read-cache.o $(LIBS)
 463
 464show-diff: show-diff.o read-cache.o
 465        $(CC) $(CFLAGS) -o show-diff show-diff.o read-cache.o $(LIBS)
 466
 467write-tree: write-tree.o read-cache.o
 468        $(CC) $(CFLAGS) -o write-tree write-tree.o read-cache.o $(LIBS)
 469
 470read-tree: read-tree.o read-cache.o
 471        $(CC) $(CFLAGS) -o read-tree read-tree.o read-cache.o $(LIBS)
 472
 473commit-tree: commit-tree.o read-cache.o
 474        $(CC) $(CFLAGS) -o commit-tree commit-tree.o read-cache.o $(LIBS)
 475
 476cat-file: cat-file.o read-cache.o
 477        $(CC) $(CFLAGS) -o cat-file cat-file.o read-cache.o $(LIBS)
 478
 479fsck-cache: fsck-cache.o read-cache.o object.o commit.o tree.o blob.o
 480        $(CC) $(CFLAGS) -o fsck-cache fsck-cache.o read-cache.o object.o commit.o tree.o blob.o $(LIBS)
 481
 482checkout-cache: checkout-cache.o read-cache.o
 483        $(CC) $(CFLAGS) -o checkout-cache checkout-cache.o read-cache.o $(LIBS)
 484
 485diff-tree: diff-tree.o read-cache.o
 486        $(CC) $(CFLAGS) -o diff-tree diff-tree.o read-cache.o $(LIBS)
 487
 488rev-tree: rev-tree.o read-cache.o object.o commit.o tree.o blob.o
 489        $(CC) $(CFLAGS) -o rev-tree rev-tree.o read-cache.o object.o commit.o tree.o blob.o $(LIBS)
 490
 491show-files: show-files.o read-cache.o
 492        $(CC) $(CFLAGS) -o show-files show-files.o read-cache.o $(LIBS)
 493
 494check-files: check-files.o read-cache.o
 495        $(CC) $(CFLAGS) -o check-files check-files.o read-cache.o $(LIBS)
 496
 497ls-tree: ls-tree.o read-cache.o
 498        $(CC) $(CFLAGS) -o ls-tree ls-tree.o read-cache.o $(LIBS)
 499
 500merge-base: merge-base.o read-cache.o
 501        $(CC) $(CFLAGS) -o merge-base merge-base.o read-cache.o $(LIBS)
 502
 503read-cache.o: cache.h
 504show-diff.o: cache.h
 505
 506clean:
 507        rm -f *.o $(PROG)
 508
 509backup: clean
 510        cd .. ; tar czvf dircache.tar.gz dir-cache
 511
 512
 513Revision-number: 7
 514Prop-content-length: 112
 515Content-length: 112
 516
 517K 7
 518svn:log
 519V 13
 520left update 3
 521K 10
 522svn:author
 523V 4
 524samv
 525K 8
 526svn:date
 527V 27
 5282009-10-20T01:33:45.144214Z
 529PROPS-END
 530
 531Node-path: branches/left/Makefile
 532Node-kind: file
 533Node-action: change
 534Text-content-length: 2593
 535Text-content-md5: 5ccff689fb290e00b85fe18ee50c54ba
 536Content-length: 2593
 537
 538# -DCOLLISION_CHECK if you believe that SHA1's
 539# 1461501637330902918203684832716283019655932542976 hashes do not give you
 540# enough guarantees about no collisions between objects ever hapenning.
 541#
 542# -DNSEC if you want git to care about sub-second file mtimes and ctimes.
 543# Note that you need some new glibc (at least >2.2.4) for this, and it will
 544# BREAK YOUR LOCAL DIFFS! show-diff and anything using it will likely randomly
 545# break unless your underlying filesystem supports those sub-second times
 546# (my ext3 doesn't).
 547CFLAGS=-g -O3 -Wall
 548
 549CC=gcc
 550
 551
 552PROG=   update-cache show-diff init-db write-tree read-tree commit-tree \
 553        cat-file fsck-cache checkout-cache diff-tree rev-tree show-files \
 554        check-files ls-tree merge-base
 555
 556all: $(PROG)
 557
 558install: $(PROG)
 559        install $(PROG) $(HOME)/bin/
 560
 561LIBS= -lssl -lz
 562
 563init-db: init-db.o
 564
 565update-cache: update-cache.o read-cache.o
 566        $(CC) $(CFLAGS) -o update-cache update-cache.o read-cache.o $(LIBS)
 567
 568show-diff: show-diff.o read-cache.o
 569        $(CC) $(CFLAGS) -o show-diff show-diff.o read-cache.o $(LIBS)
 570
 571write-tree: write-tree.o read-cache.o
 572        $(CC) $(CFLAGS) -o write-tree write-tree.o read-cache.o $(LIBS)
 573
 574read-tree: read-tree.o read-cache.o
 575        $(CC) $(CFLAGS) -o read-tree read-tree.o read-cache.o $(LIBS)
 576
 577commit-tree: commit-tree.o read-cache.o
 578        $(CC) $(CFLAGS) -o commit-tree commit-tree.o read-cache.o $(LIBS)
 579
 580cat-file: cat-file.o read-cache.o
 581        $(CC) $(CFLAGS) -o cat-file cat-file.o read-cache.o $(LIBS)
 582
 583fsck-cache: fsck-cache.o read-cache.o object.o commit.o tree.o blob.o
 584        $(CC) $(CFLAGS) -o fsck-cache fsck-cache.o read-cache.o object.o commit.o tree.o blob.o $(LIBS)
 585
 586checkout-cache: checkout-cache.o read-cache.o
 587        $(CC) $(CFLAGS) -o checkout-cache checkout-cache.o read-cache.o $(LIBS)
 588
 589diff-tree: diff-tree.o read-cache.o
 590        $(CC) $(CFLAGS) -o diff-tree diff-tree.o read-cache.o $(LIBS)
 591
 592rev-tree: rev-tree.o read-cache.o object.o commit.o tree.o blob.o
 593        $(CC) $(CFLAGS) -o rev-tree rev-tree.o read-cache.o object.o commit.o tree.o blob.o $(LIBS)
 594
 595show-files: show-files.o read-cache.o
 596        $(CC) $(CFLAGS) -o show-files show-files.o read-cache.o $(LIBS)
 597
 598check-files: check-files.o read-cache.o
 599        $(CC) $(CFLAGS) -o check-files check-files.o read-cache.o $(LIBS)
 600
 601ls-tree: ls-tree.o read-cache.o
 602        $(CC) $(CFLAGS) -o ls-tree ls-tree.o read-cache.o $(LIBS)
 603
 604merge-base: merge-base.o read-cache.o object.o commit.o tree.o blob.o
 605        $(CC) $(CFLAGS) -o merge-base merge-base.o read-cache.o object.o commit.o tree.o blob.o $(LIBS)
 606
 607read-cache.o: cache.h
 608show-diff.o: cache.h
 609
 610clean:
 611        rm -f *.o $(PROG)
 612
 613backup: clean
 614        cd .. ; tar czvf dircache.tar.gz dir-cache
 615
 616
 617Revision-number: 8
 618Prop-content-length: 110
 619Content-length: 110
 620
 621K 7
 622svn:log
 623V 11
 624Merge trunk
 625K 10
 626svn:author
 627V 4
 628samv
 629K 8
 630svn:date
 631V 27
 6322009-10-20T01:33:48.176135Z
 633PROPS-END
 634
 635Node-path: trunk
 636Node-kind: dir
 637Node-action: change
 638Prop-content-length: 53
 639Content-length: 53
 640
 641K 13
 642svn:mergeinfo
 643V 18
 644/branches/left:2-7
 645PROPS-END
 646
 647
 648Node-path: trunk/Makefile
 649Node-kind: file
 650Node-action: change
 651Text-content-length: 2713
 652Text-content-md5: 0afbe34f244cd662b1f97d708c687f90
 653Content-length: 2713
 654
 655# -DCOLLISION_CHECK if you believe that SHA1's
 656# 1461501637330902918203684832716283019655932542976 hashes do not give you
 657# enough guarantees about no collisions between objects ever hapenning.
 658#
 659# -DNSEC if you want git to care about sub-second file mtimes and ctimes.
 660# Note that you need some new glibc (at least >2.2.4) for this, and it will
 661# BREAK YOUR LOCAL DIFFS! show-diff and anything using it will likely randomly
 662# break unless your underlying filesystem supports those sub-second times
 663# (my ext3 doesn't).
 664CFLAGS=-g -O3 -Wall
 665
 666CC=gcc
 667
 668
 669PROG=   update-cache show-diff init-db write-tree read-tree commit-tree \
 670        cat-file fsck-cache checkout-cache diff-tree rev-tree show-files \
 671        check-files ls-tree merge-base merge-cache
 672
 673all: $(PROG)
 674
 675install: $(PROG)
 676        install $(PROG) $(HOME)/bin/
 677
 678LIBS= -lssl -lz
 679
 680init-db: init-db.o
 681
 682update-cache: update-cache.o read-cache.o
 683        $(CC) $(CFLAGS) -o update-cache update-cache.o read-cache.o $(LIBS)
 684
 685show-diff: show-diff.o read-cache.o
 686        $(CC) $(CFLAGS) -o show-diff show-diff.o read-cache.o $(LIBS)
 687
 688write-tree: write-tree.o read-cache.o
 689        $(CC) $(CFLAGS) -o write-tree write-tree.o read-cache.o $(LIBS)
 690
 691read-tree: read-tree.o read-cache.o
 692        $(CC) $(CFLAGS) -o read-tree read-tree.o read-cache.o $(LIBS)
 693
 694commit-tree: commit-tree.o read-cache.o
 695        $(CC) $(CFLAGS) -o commit-tree commit-tree.o read-cache.o $(LIBS)
 696
 697cat-file: cat-file.o read-cache.o
 698        $(CC) $(CFLAGS) -o cat-file cat-file.o read-cache.o $(LIBS)
 699
 700fsck-cache: fsck-cache.o read-cache.o object.o commit.o tree.o blob.o
 701        $(CC) $(CFLAGS) -o fsck-cache fsck-cache.o read-cache.o object.o commit.o tree.o blob.o $(LIBS)
 702
 703checkout-cache: checkout-cache.o read-cache.o
 704        $(CC) $(CFLAGS) -o checkout-cache checkout-cache.o read-cache.o $(LIBS)
 705
 706diff-tree: diff-tree.o read-cache.o
 707        $(CC) $(CFLAGS) -o diff-tree diff-tree.o read-cache.o $(LIBS)
 708
 709rev-tree: rev-tree.o read-cache.o object.o commit.o tree.o blob.o
 710        $(CC) $(CFLAGS) -o rev-tree rev-tree.o read-cache.o object.o commit.o tree.o blob.o $(LIBS)
 711
 712show-files: show-files.o read-cache.o
 713        $(CC) $(CFLAGS) -o show-files show-files.o read-cache.o $(LIBS)
 714
 715check-files: check-files.o read-cache.o
 716        $(CC) $(CFLAGS) -o check-files check-files.o read-cache.o $(LIBS)
 717
 718ls-tree: ls-tree.o read-cache.o
 719        $(CC) $(CFLAGS) -o ls-tree ls-tree.o read-cache.o $(LIBS)
 720
 721merge-base: merge-base.o read-cache.o object.o commit.o tree.o blob.o
 722        $(CC) $(CFLAGS) -o merge-base merge-base.o read-cache.o object.o commit.o tree.o blob.o $(LIBS)
 723
 724merge-cache: merge-cache.o read-cache.o
 725        $(CC) $(CFLAGS) -o merge-cache merge-cache.o read-cache.o $(LIBS)
 726
 727read-cache.o: cache.h
 728show-diff.o: cache.h
 729
 730clean:
 731        rm -f *.o $(PROG)
 732
 733backup: clean
 734        cd .. ; tar czvf dircache.tar.gz dir-cache
 735
 736