* Aw: Re: Aw: Re: [Patch v3 0/8] Create single PDF for all HTML files
@ 2012-10-18 17:19 Thomas Ackermann
2012-10-18 20:40 ` Junio C Hamano
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Ackermann @ 2012-10-18 17:19 UTC (permalink / raw)
To: gitster, th.acker66; +Cc: git, philipoakley, peff, git
>
> That means that for the patch [6/8], which adds content-type to the
> text files, to be complete, it needs to update Makefile to produce
> html files from them.
>
IMHO also for the new files in ./technical html should be created because
now as we have asciidoc markup why not also use it.
>
> > BTW2: The 'pretty-print shell script in update-hook-example.txt'
> > part of my changes was left out from the merge to pu ...
>
> Do you mean e2399e9 (Documentation/howto: convert plain text files
> to asciidoc, 2012-10-16), or something else?
Yes; in e2399e9 the following hunks where left out from the patch to update-hook-example.txt:
@@ -111,12 +114,12 @@ then
info "Found matching head pattern: '$head_pattern'"
for user_pattern in $user_patterns; do
- info "Checking user: '$username' against pattern: '$user_pattern'"
- matchlen=$(expr "$username" : "$user_pattern")
- if test "$matchlen" = "${#username}"
- then
- grant "Allowing user: '$username' with pattern: '$user_pattern'"
- fi
+ info "Checking user: '$username' against pattern: '$user_pattern'"
+ matchlen=$(expr "$username" : "$user_pattern")
+ if test "$matchlen" = "${#username}"
+ then
+ grant "Allowing user: '$username' with pattern: '$user_pattern'"
+ fi
done
deny "The user is not in the access list for this branch"
done
@@ -149,13 +152,13 @@ then
info "Found matching head pattern: '$head_pattern'"
for group_pattern in $group_patterns; do
- for groupname in $groups; do
- info "Checking group: '$groupname' against pattern: '$group_pattern'"
- matchlen=$(expr "$groupname" : "$group_pattern")
- if test "$matchlen" = "${#groupname}"
- then
- grant "Allowing group: '$groupname' with pattern: '$group_pattern'"
- fi
+ for groupname in $groups; do
+ info "Checking group: '$groupname' against pattern: '$group_pattern'"
+ matchlen=$(expr "$groupname" : "$group_pattern")
+ if test "$matchlen" = "${#groupname}"
+ then
+ grant "Allowing group: '$groupname' with pattern: '$group_pattern'"
+ fi
done
done
deny "None of the user's groups are in the access list for this branch"
---
Thomas
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Aw: Re: Aw: Re: [Patch v3 0/8] Create single PDF for all HTML files
2012-10-18 17:19 Aw: Re: Aw: Re: [Patch v3 0/8] Create single PDF for all HTML files Thomas Ackermann
@ 2012-10-18 20:40 ` Junio C Hamano
0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2012-10-18 20:40 UTC (permalink / raw)
To: Thomas Ackermann; +Cc: git, philipoakley, peff, git
Thomas Ackermann <th.acker66@arcor.de> writes:
> Yes; in e2399e9 the following hunks where left out from the patch to update-hook-example.txt:
>
> @@ -111,12 +114,12 @@ then
>
> info "Found matching head pattern: '$head_pattern'"
> for user_pattern in $user_patterns; do
> - info "Checking user: '$username' against pattern: '$user_pattern'"
> - matchlen=$(expr "$username" : "$user_pattern")
> - if test "$matchlen" = "${#username}"
> - then
> - grant "Allowing user: '$username' with pattern: '$user_pattern'"
> - fi
> + info "Checking user: '$username' against pattern: '$user_pattern'"
> + matchlen=$(expr "$username" : "$user_pattern")
> + if test "$matchlen" = "${#username}"
> + then
> + grant "Allowing user: '$username' with pattern: '$user_pattern'"
> + fi
> done
> deny "The user is not in the access list for this branch"
> done
> @@ -149,13 +152,13 @@ then
>
> info "Found matching head pattern: '$head_pattern'"
> for group_pattern in $group_patterns; do
> - for groupname in $groups; do
> - info "Checking group: '$groupname' against pattern: '$group_pattern'"
> - matchlen=$(expr "$groupname" : "$group_pattern")
> - if test "$matchlen" = "${#groupname}"
> - then
> - grant "Allowing group: '$groupname' with pattern: '$group_pattern'"
> - fi
> + for groupname in $groups; do
> + info "Checking group: '$groupname' against pattern: '$group_pattern'"
> + matchlen=$(expr "$groupname" : "$group_pattern")
> + if test "$matchlen" = "${#groupname}"
> + then
> + grant "Allowing group: '$groupname' with pattern: '$group_pattern'"
> + fi
> done
> done
> deny "None of the user's groups are in the access list for this branch"
Yuck. That is because I almost always apply patches with whitespace
breakage fix. The above two hunks, if taken as patches to shell
script, does nothing but adding whitespace breakages, turning tab
indent into expanded runs of spaces, and that was why the tool
dropped them.
Resurrected; will queue the result later.
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-18 20:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-18 17:19 Aw: Re: Aw: Re: [Patch v3 0/8] Create single PDF for all HTML files Thomas Ackermann
2012-10-18 20:40 ` 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