about summary refs log tree commit diff
Commit message (Expand)AuthorAge
...
| * | | Fix tar.bz2 snapshot exampleTodd Zullinger2009-01-12
* | | | Merge branch 'stable'Lars Hjemli2009-01-11
|\| | |
| * | | Avoid SEGFAULT on invalid requestsLars Hjemli2009-01-11
* | | | Make all tags viewableRobin Redeker2009-01-11
* | | | Merge branch 'stable'Lars Hjemli2009-01-11
|\| | |
| * | | ui-tag: escape tagnames properlyLars Hjemli2009-01-11
* | | | Change toggle to more meaningful termJustin Waters2009-01-11
* | | | Merge branch 'snapshot-fixes'Lars Hjemli2009-01-11
|\ \ \ \
| * | | | tests/t0107-snapshot.sh: make testscript match updated snapshot behaviorLars Hjemli2008-12-28
| * | | | return 404 if snapshot is not foundNatanael Copa2008-12-28
* | | | | Merge branch 'lh/mimetypes'Lars Hjemli2009-01-11
|\ \ \ \ \
| * | | | | ui-snapshot.c: change mime-type for tar.gz and tar.bz2Lars Hjemli2008-12-26
| |/ / / /
* | | | | Merge branch 'lh/virtual-root'Lars Hjemli2009-01-11
|\ \ \ \ \
| * | | | | Untie logic for SCRIPT_NAME and PATH_INFOLars Hjemli2008-12-26
* | | | | | Merge branch 'stable'Lars Hjemli2009-01-11
|\ \ \ \ \ \ | | |_|/ / / | |/| | | |
| * | | | | Makefile: avoid libcurl when building gitLars Hjemli2009-01-10
* | | | | | ui-log: show name-decorations in log outputLars Hjemli2009-01-11
* | | | | | ui-refs: avoid SEGFAULT on lightweight tagsRobin Redeker2009-01-10
| |_|_|_|/ |/| | | |
* | | | | Merge branch 'stable'Lars Hjemli2009-01-06
|\| | | |
| * | | | ui-tree.c: do not add blank line when displaying blobsLars Hjemli2009-01-06
* | | | | Merge branch 'stable'Lars Hjemli2008-12-30
|\| | | | | |_|/ / |/| | |
| * | | ui-patch: whitespace changes in the patch generation codeTomas Carnecky2008-12-30
* | | | Use GIT-1.6.1Lars Hjemli2008-12-26
* | | | shared.c: future-proof usage of git diff-structuresLars Hjemli2008-12-26
| |/ / |/| |
* | | Merge branch 'stable'Lars Hjemli2008-12-06
|\| |
| * | tests/setup.sh: allow testsuite to fail properly with POSIX standard shellsLars Hjemli2008-12-06
| * | tests/t0010-validate-html.sh: skip tests if 'tidy' is not availableLars Hjemli2008-12-06
* | | Merge branch 'full-log'Lars Hjemli2008-12-06
|\ \ \
| * | | ui-log: use css to make full-log prettierLars Hjemli2008-11-30
| * | | ui-log: (ab)use extra columns for commit message when showmsg=1Lars Hjemli2008-11-29
| * | | ui-log: add support for showing the full commit messageLars Hjemli2008-11-29
* | | | Merge branch 'lh/sort-repolist'Lars Hjemli2008-12-06
|\ \ \ \
| * | | | ui-repolist: implement lazy caching of repo->mtimeLars Hjemli2008-11-29
| * | | | ui-repolist: sort null values lastLars Hjemli2008-11-29
| * | | | ui-repolist: add support for sorting any columnLars Hjemli2008-11-29
| * | | | ui-repolist: extract get_repo_modtime() from print_modtime()Lars Hjemli2008-11-29
| * | | | Add support for sorting by Age in the repolistBenjamin Close2008-11-29
| |/ / /
* | | | Merge branch 'snapshot-fixes'Lars Hjemli2008-12-06
|\ \ \ \
| * | | | ui-shared: shorten the sha1 printed by cgit_object_linkLars Hjemli2008-12-01
| * | | | ui-refs.c: show download links for all tags referring to commit objectsLars Hjemli2008-12-01
| * | | | ui-shared: exploit snapshot dwimmery in cgit_print_snapshot_linksLars Hjemli2008-12-01
| * | | | ui-snapshot: improve extraction of revision from snapshot nameLars Hjemli2008-12-01
| * | | | Set prefix in snapshots when using dwimmeryNatanael Copa2008-11-30
| |/ / /
* | | | Merge branch 'stable'Lars Hjemli2008-12-06
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | Merge branch 'rj/buildtweaks' into stableLars Hjemli2008-12-05
| |\ \
| | * | parsing.c: enable builds with NO_ICONV definedLars Hjemli2008-12-05
| | * | ui-repolist: avoid build warning for strcasestr(3)Lars Hjemli2008-12-05
| | * | Makefile: allow cgit.conf to override platform-specific tweaksLars Hjemli2008-12-05
| | * | Extra cygwin-specific changesRamsay Jones2008-12-03
| * | | ui-log: try to disambiguate ref namesLars Hjemli2008-12-03
| |/ /
r whether to only split on null bytes: in ifsbreakup(), nulonly > also causes string termination to be suppressed. That's correct: that > special treatment is required to preserve empty fields in "$@" > expansion. But it should *only* be used when $@ is quoted: ifsbreakup() > takes nulonly from the last IFS region, even if it's empty, so having an > additional zero-length region with nulonly enabled causes confusion. > > Passing quoted by value to varvalue() and not attempting to modify it > should therefore, and in my quick testing does, also work to fix the > original $@ bug. You're right. The proper fix to this is to ensure that nulonly is not set in varvalue for $*. It should only be set for $@ when it's inside double quotes. In fact there is another bug while we're playing with $@/$*. When IFS is set to a non-whitespace character such as :, $* outside quotes won't remove empty fields as it should. This patch fixes both problems. Reported-by: Martijn Dekker <martijn@inlv.org> Suggested-by: Harald van Dijk <harald@gigawatt.nl> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> 2018-04-02parser: Allow newlines within parameter substitutionHerbert Xu On Fri, Mar 16, 2018 at 11:27:22AM +0800, Herbert Xu wrote: > On Thu, Mar 15, 2018 at 10:49:15PM +0100, Harald van Dijk wrote: > > > > Okay, it can be trivially modified to something that does work in other > > shells (even if it were actually executed), but gets rejected at parse time > > by dash: > > > > if false; then > > : ${$+ > > } > > fi > > That's just a bug in dash's parser with ${} in general, because > it bombs out without the if clause too: > > : ${$+ > } This patch fixes the parsing of newlines with parameter substitution. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> 2018-04-02expand: Fix bugs with words connected to the right of $@Herbert Xu On Sun, Mar 04, 2018 at 12:44:59PM +0100, Harald van Dijk wrote: > > command: set -- a ""; space=" "; printf "<%s>" "$@"$space > bash: <a><> > dash 0.5.8: <a>< > > dash 0.5.9.1: <a>< > > dash patched: <a><> This is actually composed of two bugs. First of all our tracking of quotemark is wrong so anything after "$@" becomes quoted. Once we fix that then the problem is that the first space character after "$@" is not recognised as an IFS. This patch fixes both. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> 2018-03-25Revert "[BUILTIN] Remove unnecessary restoration of format string in printf"Herbert Xu This reverts commit 7bb413255368e94395237d789f522891093c5774. The commit breaks printf with more than argument. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> 2018-03-22parser: Fix backquote support in here-document EOF markHerbert Xu