git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] tagsize < 8kb restriction
@ 2006-05-22 14:48 Björn Engelmann
  2006-05-22 19:18 ` Junio C Hamano
  0 siblings, 1 reply; 12+ messages in thread
From: Björn Engelmann @ 2006-05-22 14:48 UTC (permalink / raw)
  To: git

Hi,

I am currently working on an interface for source code quality assurance
tools to automatically scan newly commited code. Since it is the only
way to add data (scan-results) to an already-existing commit, I decided
to use tags for that.

Since the scan-results will most definitly exeed the 8kb-limit, I would
like to remove this artificial restriction.

I know I could also

    git-hash-object -t tag -w

but prefer using the "official" way.


In order not to write duplicate code I used parts of index_pipe() in
sha1_file.c

What I found odd when writing the patch was that main() in mktag.c uses
xread() to read from stdin (which respects EAGAIN and EINTR return
values), but index_pipe() in sha1_file.c just uses read() for doing
merely the same thing. For unifying both routines i found that xread()
might be the better choice.

Removing the restriction was pretty straightforward but do you think
this would break something in other places ?


[PATCH 1/2]
    remove the < 8kb restrinction from git-mktag

[PATCH 2/2]
    add more informative error messages to git-mktag


Bj

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2006-05-25 20:03 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-22 14:48 [PATCH 0/2] tagsize < 8kb restriction Björn Engelmann
2006-05-22 19:18 ` Junio C Hamano
     [not found]   ` <20060522191240.1cb8c93f.seanlkml@sympatico.ca>
2006-05-22 23:12     ` Sean
2006-05-23  0:02       ` Linus Torvalds
     [not found]         ` <20060523055900.0dd845fd.seanlkml@sympatico.ca>
2006-05-23  9:59           ` Sean
2006-05-23 20:40   ` Björn Engelmann
2006-05-23 23:15     ` Junio C Hamano
2006-05-24 19:16       ` Björn Engelmann
2006-05-24 19:39         ` Junio C Hamano
2006-05-25 11:53           ` Björn Engelmann
2006-05-25 20:03             ` Junio C Hamano
2006-05-23 23:49     ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).