summaryrefslogtreecommitdiff
path: root/g
AgeCommit message (Collapse)Author
2013-10-04g: fix --set-push-urlsMiklos Vajna
1) submodule's .git is possibly a file now 2) just use the logerrit alias, as - logerrit setup already set that up - possibly otherwise the right ssh key is not picked up Change-Id: I4fb355a7f7ec7d549d2b06367f4fd10d06086374
2013-07-22g: ignore submodule changesMiklos Vajna
Change-Id: I6125dd018615bc7aa18bacc838ea602ccb0fabc1
2013-06-21Reintroduce --with-linked-git optionLionel Elie Mamane
With slightly different semantics: Instead of pointing at a previous checkout, point at base directory of all repos. Change-Id: I254ecc33071be53067c44610b030f737cf75a7ee
2013-02-26g clone: fix non-referenced cloningMiklos Vajna
Change-Id: I98d6f5c20bacbb5d6457857906c591fea034288a Notes: test note
2013-02-09configure: add --with-referenced-git optionMiklos Vajna
This is similar to --with-linked-git, but: 1) It uses git submodule update --reference, so it works with submodules. 2) The created repo is a true git repo, except that its object database reuses the referenced repo's objects, so it's a real speedup when e.g. translations are enabled. I intentionally didn't just fixed --with-linked-git, to make it clear this is more like git clone --reference, not git-new-workdir. Change-Id: I7c9584bce3670fd1e175b90aded2435cfe78056d
2012-12-21set-up the hooks for submodules for recent git setupNorbert Thiebaud
Change-Id: I52482d017966e1d9671f92f43ec9d8cac6daf602
2012-12-11./g cannot reference builddirLuboš Luňák
Because either it's called from there, and then it's the current directory, or otherwise the srcdir has no idea where the builddir is (or even how many of them), and there's nothing to tell it. Change-Id: I88c5fe8f015cc63a5aa7c327eb82ed751c3e8aa0
2012-12-11BUILD_DIR -> BUILDDIR, to be consistent with the other *DIRLuboš Luňák
Change-Id: Ia80a1246a7e3c8862a50a3daf79aba5609b7df3a
2012-12-11Prepare for read-only source buildNorbert Thiebaud
This patch allows to do mkdir <build_dir> cd <build_dir> <src_root>/autogen.sh make Only the remaining dmake modules are poluting the <src_root>... which will get eventually convererd to gmake... Change-Id: Iefd64732fa12e096d554cff4eee6b777deb92338 Reviewed-on: https://gerrit.libreoffice.org/1273 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-11-23Fix --set-push-urls.Jan Holesovsky
Change-Id: Ic3a424b5ac8c2168747bc7253f421bf5367beac7
2012-11-09binfilter.die.die.dieNorbert Thiebaud
Change-Id: Ia3c103e4343d309b997ed37e33a382ffdfbddac3 Reviewed-on: https://gerrit.libreoffice.org/1014 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2012-10-18g: fix typoMiklos Vajna
Change-Id: I97484d8647549646117f6c51dde4eb17ec82c8be
2012-10-16cleanup ./g outputPeter Foley
Change-Id: I84a775ceb983ad21d4585a3c3718f99bbac5a282
2012-10-16missing fi in ./gNorbert Thiebaud
Change-Id: Ic763d7cd73c2a3df8e5d5146eaf795188d8c79d1
2012-10-16add tag support to ./g, try to optimize pre->post submerge situationNorbert Thiebaud
Change-Id: I052817865da6df193c0451eccc3b8b6f507845a3
2012-10-16when switching to a pre-submodule point, clean-up the soft-link pointNorbert Thiebaud
Change-Id: I5a8f144bb4ad167cfa0e6763e3cf273b9127d65b
2012-10-16submodules migrationNorbert Thiebaud
Change-Id: Ib3e472a4b1abf880f695be7a6667393d6a82f10d
2012-08-20Update ./g --set-push-user to work with gerrit.Jan Holesovsky
Change-Id: If83b29222740e9d479d8b3c9b9d90ccc3706cd49
2012-07-21suppress distracting message in ./g on some platformNorbert Thiebaud
we use perl to determine the absolute path of argument thought to be fiels. but sometime they are not file at all and that call 'fail'. The code is meant to deal with such case, but on some platform that produce a scary message on stderr in the middle of the build log. This hide these messages. Change-Id: I52d43e0b26847ab091d76fd446a05c4d84836a77
2012-07-10make ./g robust against missing bin/repo-list fileBjoern Michaelsen
Change-Id: Ib61a679221d0eddea61358024d31c90464dccefb
2012-03-13g push/status: use @{upstream} instead of originMiklos Vajna
origin won't work if origin/HEAD points to nowhere, which is a valid use-case.
2011-11-29git rev-parse argument are not files, no need to try to find abs-pathNorbert Thiebaud
This was causing some error message on Windows
2011-11-29Added ./g -v switch to show git commands.Stephan Bergmann
2011-11-04'g': whitespace: expand tabsMichael Stahl
2011-11-04'g': actually set up git hooks properlyMichael Stahl
2011-10-31make --last-working checkout the last working versionMichael Meeks
thanks to Bjoern and Christian for tips.
2011-10-27'g' tool: fix silly error in --set-last-workingMichael Meeks
2011-10-25initial cut at 'last working' feature to help windows buildersMichael Meeks
2011-09-05g: check if git is in PATHMiklos Vajna
2011-08-28remove debug-tracesNorbert Thiebaud
2011-08-28mishap in ./g, issue with links creationsNorbert Thiebaud
2011-08-27add ./g -z to just refresh the hooks and possibly other housekeepingNorbert Thiebaud
2011-08-27use translations' own hooks. update the hooks after the clone/fetch/pullNorbert Thiebaud
2011-08-06bootstrap is now core in ./gNorbert Thiebaud
2011-06-04we don't need the repos_changed semaphore file anymoreNorbert Thiebaud
./g was doing 2 pair of git show-ref --head HEAD to figure out if something had change... notwidthstanding that it is a complete waste for the case of ./g clone, the only reason this was done was to touch a ./clone/repos_changed file that used to be used back in the 'build repo' days (pre 3.4) binned that.
2011-05-18Don't print === decoration when running g grepChristian Dywan
Otherwise g grep -l can't be used, for example with sed.
2011-05-06Dont print misleading informationTor Lillqvist
2011-05-01add an option to ./g to have a compact <repo>:<value> outputNorbert Thiebaud
This is usefull to collect the heads of the repos in a easily parsable format
2011-04-27use git hook instead of gitattributes filter for *.po filesAndras Timar
2011-03-23set .gitattributes filter for *.po filesAndras Timar
2011-03-16Introduce a single .gitattributes file in bootstrapMiklos Vajna
2011-03-12g: remove leftover debug echoMiklos Vajna
2011-03-07teach ./g at least some basic manners when using commit -FBjoern Michaelsen
* still needs fixes for message files with relative paths
2011-02-10Use git pushurl, setup via --set-push-user nowThorsten Behrens
An easy way to turn your set of repos into something you can push from - after you've gotten commit rights on fd.o - just use ./g --set-push-user <your_user_name>
2011-01-21don't use -f flag if we just removed the existing link, thanks FlorianMichael Meeks
2011-01-20Add --rewrite-account [username] option, inspired by Christina Roßmanith's workMichael Meeks
2011-01-20cope with change of path, and broken absolute links this generatesMichael Meeks
2010-12-06g: Give full path to the repo-list file.Jan Holesovsky
2010-12-05g clone now tolerate silently already cloned repos.Norbert Thiebaud
2010-12-03g: Configure git's push.default to tracking if it is not set.Jan Holesovsky