public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Robin Rosenberg <robin.rosenberg@dewire•com>
To: Thomas Gummerer <t.gummerer@gmail•com>
Cc: Junio C Hamano <gitster@pobox•com>,
	git@vger•kernel.org, mhagger@alum•mit.edu, pclouds@gmail•com,
	trast@student•ethz.ch,
	JGit Developers list <jgit-dev@eclipse•org>
Subject: Re: [GSoC] Designing a faster index format - Progress report week 13
Date: Sun, 22 Jul 2012 17:22:17 +0200	[thread overview]
Message-ID: <500C1AA9.4000306@dewire.com> (raw)
In-Reply-To: <20120717082452.GC1849@tgummerer.surfnet.iacbox>


A note on how JGit would work here. Java has none of the fields
that constitute statcrc. I guess we would write zero here when
creating new entries. Git could recognize that when checking status and 
simply assume "clean" unless mtime or st_size says otherwise.

For existing entries JGit could either keep the old value (which is
probably a lie since) or zero it.

A modification to the spec would be that 0 == not set.

-- robin

  reply	other threads:[~2012-07-22 15:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-16 20:33 [GSoC] Designing a faster index format - Progress report week 13 Thomas Gummerer
2012-07-16 20:46 ` Junio C Hamano
2012-07-17  8:21   ` Thomas Gummerer
2012-07-17  8:24   ` Thomas Gummerer
2012-07-22 15:22     ` Robin Rosenberg [this message]
2012-07-22 18:52       ` Junio C Hamano
2012-07-22 19:43         ` Thomas Rast
2012-07-22 21:08           ` Junio C Hamano
2012-07-23 22:29             ` Robin Rosenberg
2012-07-24 11:54               ` Thomas Rast
2012-07-24 16:58                 ` Junio C Hamano
2012-07-25  6:44                   ` Thomas Rast

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=500C1AA9.4000306@dewire.com \
    --to=robin.rosenberg@dewire$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    --cc=gitster@pobox$(echo .)com \
    --cc=jgit-dev@eclipse$(echo .)org \
    --cc=mhagger@alum$(echo .)mit.edu \
    --cc=pclouds@gmail$(echo .)com \
    --cc=t.gummerer@gmail$(echo .)com \
    --cc=trast@student$(echo .)ethz.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox