Re: [PATCH] git-bundle - bundle objects and references for disconnected transfer.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Johannes Schindelin wrote:
It is not a usability issue if you are cleanly separating things which do not belong together.

This introduces order dependency that is otherwise not there. The order dependency makes perfect sense to one who understands the details, but otherwise seems arbitrary. (..still pondering what to do here).
Example:

#!/bin/sh

(echo Hallo; echo Bello; echo; echo blabla) | \
(
	while read line; do
		echo "$line"
		if [ -z "$line" ]; then
			break
		fi
	done
	echo "xxx"
	cat
)

In this case, shell reads the header until an empty line is encountered. The rest is piped through cat. And it does not matter if "blabla" is text or binary.
Doh! (sometimes you just have to whack people over the head with a 2x4). Thanks.

Mark

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]