Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [PATCH] t5300-pack-object.sh: portability issue using /usr/bin/stat

From: Nicolas Pitre <hidden>
Date: 2016-06-15 22:43:03

On Fri, 6 Apr 2007, Junio C Hamano wrote:
Nicolas Pitre [off-list ref] writes:
quoted
On Fri, 6 Apr 2007, Junio C Hamano wrote:

Well... since this test already depends on wc then why not just use that 
instead of adding a perl dependency?
Because (1) other tests already use Perl; (2) wc -c reads pack
to find out the size, "-s $file" doesn't AFAIK.
Maybe.  But my point is that wc is already used to find file size in 
other part of the test.  So it should at least be consistent.  And my 
patch has the advantage of looking much simpler.


Nicolas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help