/tools/treble/build/treble_build/local/ |
D | git.go | 44 git gitExec // Git executable member 58 if raw, err := cli.git.ProjectInfo(ctx, gitDir, workDir); err == nil { 78 if raw, err := cli.git.RemoteUrl(ctx, gitDir, workDir, remote); err == nil { 90 if raw, err := cli.git.Tree(ctx, proj.GitDir, proj.WorkDir, proj.Revision); err == nil { 99 …if diff, err := cli.git.DiffBranches(ctx, proj.GitDir, proj.WorkDir, upstream, proj.Revision); err… 119 raw, err := cli.git.CommitInfo(ctx, proj.GitDir, proj.WorkDir, sha) 218 func (git *gitCmd) runDirCmd(ctx context.Context, gitDir string, workDir string, args []string) (*b… 220 out, err, _ := run(ctx, git.timeout, git.cmd, gitArgs) 222 …return nil, errors.New(fmt.Sprintf("Failed to run %s %s [error %s]", git.cmd, strings.Join(gitArgs… 227 func (git *gitCmd) ProjectInfo(ctx context.Context, gitDir, workDir string) (*bytes.Buffer, error) { [all …]
|
D | git_test.go | 140 git := &gitCli{git: &gitTestCli{ 147 proj, err := git.Project(nil, test.path, test.gitDir, test.remote, test.revision) 152 _ = git.PopulateFiles(nil, proj, "") 158 c, err := git.CommitInfo(nil, proj, test.commit.sha)
|
/tools/metalava/scripts/ |
D | merge-from-metalava-main.sh | 9 STATUS=$(git status -s | grep -v "??" || true) 21 BRANCH=$(git branch --show-current) 32 CURRENT_BRANCH=$(git rev-parse --abbrev-ref --symbolic-full-name @{u}) 51 output_only_on_failure git fetch ${SPLIT_REPOSITORY_BRANCH} 55 MERGE_BASE=$(git merge-base HEAD ${SOURCE_BRANCH}) 56 if [[ ${MERGE_BASE} == $(git rev-parse ${SOURCE_BRANCH}) ]]; then 64 BUGS=$(git log ${MERGE_BASE}..${SOURCE_BRANCH} --no-merges | (grep -E "^ *Bug: *[0-9]+" || true) | … 72 CHANGE_IDS=$(git log ${MERGE_BASE}..${SOURCE_BRANCH} --no-merges | (grep -E "^ *Change-Id: I*[0-9a-… 109 output_only_on_failure git merge ${SOURCE_BRANCH} --no-ff -F ${MESSAGE_FILE}
|
/tools/repohooks/rh/ |
D | hooks_unittest.py | 102 [rh.git.RawDiffEntry(file=x) 115 @mock.patch.object(rh.git, 'find_repo_root', 179 @mock.patch.object(rh.git, 'find_repo_root') 186 @mock.patch.object(rh.git, 'find_repo_root') 337 diff = [rh.git.RawDiffEntry(file=x) for x in files] 363 diff = [rh.git.RawDiffEntry(file=x) for x in files] 382 diff = [rh.git.RawDiffEntry(file='Android.bp')] 409 diff = [rh.git.RawDiffEntry(file='foo.java'), 410 rh.git.RawDiffEntry(file='bar.kt'), 411 rh.git.RawDiffEntry(file='baz/blah.java')] [all …]
|
D | hooks.py | 31 import rh.git 144 return rh.git.find_repo_root() 149 return rh.git.find_repo_root(outer=True) 362 data = rh.git.get_file_content(commit, d.file) 379 input=rh.git.get_patch(commit)) 891 data = rh.git.get_file_content(commit, d.file) 911 data = rh.git.get_file_content(commit, d.file) 960 data = rh.git.get_file_content(commit, d.file) 1049 data = rh.git.get_file_content(commit, d.file)
|
/tools/repohooks/ |
D | pre-upload.py | 48 import rh.git 251 global_paths = (rh.git.find_repo_root(),) 255 (os.path.join(rh.git.find_repo_root(), '.repo', 'manifests')), 257 rh.git.find_repo_root(), 371 remote = rh.git.get_upstream_remote() 372 upstream_branch = rh.git.get_upstream_branch() 379 rel_proj_dir = os.path.relpath(proj_dir, rh.git.find_repo_root()) 387 'REPO_LREV': rh.git.get_commit_for_ref(upstream_branch), 391 'REPO_RREV': rh.git.get_remote_revision(upstream_branch, remote), 395 commit_list = rh.git.get_commits( [all …]
|
D | README.md | 32 * Project-local settings (e.g. a single .git repo). These control settings for 41 * `.repo/manifests/GLOBAL-PREUPLOAD.cfg`: The manifest git repo. 42 Simply check this in to the manifest git repo and you're done. 52 This file is checked in the top of a specific git repository. Stacking them 79 Hooks are executed in the top directory of the git repository. All paths should 88 * `REPO_REMOTE`: The name of the git remote. 185 * `clang_format`: Run git-clang-format against the commit. The default style is 285 * `git-clang-format`: used for the `clang_format` builtin hook. 299 # Or paths relative to the top of the git project.
|
/tools/treble/hacksaw/ |
D | README.md | 7 If you have a large multi-gigabyte codebase spread out through multiple git projects it can take a … 8 lets you split off a clean workspace in seconds. It does so by only copying git projects that you 31 the git projects checked out for editing. Contrast that with how long it takes 97 go get android.googlesource.com/platform/tools/treble.git/hacksaw/cmd/hacksaw 110 Hacksaw creates bind mounts for all git projects in a codebase. It then 134 go get android.googlesource.com/platform/tools/treble.git/hacksaw/cmd/hacksawd 137 sudo ~/go/src/android.googlesource.com/platform/tools/treble.git/hacksaw/scripts/install-service.sh 146 sudo ~/go/src/android.googlesource.com/platform/tools/treble.git/hacksaw/scripts/uninstall-service.… 152 Except for projects that you are currently editing. Those will require you to `git pull` 167 So at the moment you can only upload to Gerrit [using git [all …]
|
D | go.mod | 1 module android.googlesource.com/platform/tools/treble.git/hacksaw
|
/tools/aadevtools/dev/ |
D | clone_proj.sh | 56 git clone "$GIT_REPO_URL/$PROJECT" 59 git clone -b $BRANCH "$GIT_REPO_URL/$PROJECT" 64 f=`git rev-parse --git-dir`/hooks/commit-msg ; mkdir -p $(dirname $f) ; curl -Lo $f https://gerrit-…
|
/tools/platform-compat/hiddenapi/ |
D | checksorted_sha.sh | 4 git show --name-only --pretty=format: $1 | grep "hiddenapi/hiddenapi-.*txt" | while read file; do 5 diff <(git show $1:$file) <(git show $1:$file | $LOCAL_DIR/sort_api.sh ) || {
|
/tools/netsim/guide/src/development/ |
D | README.md | 208 git diff HEAD^ > /tmp/git.diff 210 git apply /tmp/git.diff 218 git add <files> 219 git commit 225 git add <files> 226 git commit --amend --no-edit
|
/tools/netsim/scripts/ |
D | proto_update.sh | 54 git checkout $REPO/rust/proto/src/packet_streamer.rs 55 git checkout $REPO/rust/proto/src/frontend.rs 71 git checkout $CARGO
|
/tools/external_updater/ |
D | README.md | 75 If type of a URL is set to GIT, the URL must be a git upstream 76 (the one you can use with `git clone`). And the version field must 80 When upgrade, the tool will simply run `git merge tag/sha`. 117 If you have the choice between archives and git tags, choose tags. 160 repo forall -c git checkout . 161 repo forall -c git clean -xdf
|
/tools/metalava/ |
D | DOWNLOADING.md | 11 curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo 18 git config --global user.name "Your Name" 19 git config --global user.email "you@example.com"
|
D | API-LINT.md | 83 Then re-run the build and you should now see diffs to the baseline file; git 86 $ git status 89 (use "git add <file>..." to include in what will be committed)
|
/tools/tradefederation/core/ |
D | aosp_sha.sh | 4 if git branch -vv | grep -q -P "^\*[^\[]+\[aosp/"; then 16 done < <(git show --name-only --pretty=format: $1 | grep -- "$2")
|
/tools/aadevtools/dev/resource/ |
D | sysui_gcar_android10-qpr3-release_android11-release.txt | 22 git diff --stat remotes/aosp/android10-qpr3-release remotes/aosp/android11-release -- `find . -name… 102 git diff --stat remotes/aosp/android10-qpr3-release remotes/aosp/android11-release -- `find . -name… 157 git diff --stat remotes/aosp/android10-qpr3-release remotes/aosp/android11-release -- `find . -name… 189 git diff --stat remotes/aosp/android10-qpr3-release remotes/aosp/android11-release -- `find . -name… 222 git diff --stat remotes/aosp/android10-qpr3-release remotes/aosp/android11-release -- `find . -name…
|
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/ |
D | SymlinkTest.kt | 51 val git = File(file, ".git").toPath() in <lambda>() constant 52 java.nio.file.Files.createSymbolicLink(git, dir.toPath()) in <lambda>()
|
D | BaselineTest.kt | 156 val git = File(file, ".git").toPath() in <lambda>() constant 157 java.nio.file.Files.createSymbolicLink(git, dir.toPath()) in <lambda>()
|
/tools/aadevtools/ |
D | README.md | 20 * clone_proj.sh to clone a git project for the unbundled development workflows 27 This is useful when the git commit history is somehow not obtainable. What you 33 .git, etc.
|
/tools/repohooks/tools/ |
D | android_test_mapping_format.py | 40 import rh.git 185 json_data = rh.git.get_file_content(opts.commit, filename)
|
/tools/currysrc/scripts/ |
D | repackage-common.sh | 175 …(cd $SRC_OUT_DIR; git checkout HEAD $(git status --short | grep -E "^ D .*/TEST_MAPPING$" | cut -c…
|
/tools/treble/hacksaw/git/ |
D | lister.go | 15 package git package
|
/tools/treble/build/treble_build/app/ |
D | Android.bp | 8 "git.go",
|