Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
15e9f568
Kaydet (Commit)
15e9f568
authored
Mar 26, 2013
tarafından
Bjoern Michaelsen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add draft-submittal to logerrit and retab
Change-Id: I5f52d9c81c28c9a4b23eaf043e7b67b1fc6d82d9
üst
646b992e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
4 deletions
+20
-4
logerrit
logerrit
+20
-4
No files found.
logerrit
Dosyayı görüntüle @
15e9f568
...
...
@@ -32,7 +32,8 @@ ask_tristate() {
}
submit
()
{
BRANCH
=
$1
TYPE
=
$1
BRANCH
=
$2
if
test
-z
"
$BRANCH
"
then
BRANCH
=
`
git symbolic-ref HEAD 2> /dev/null
`
...
...
@@ -44,7 +45,7 @@ submit() {
fi
echo
"no branch specified, guessing current branch
$BRANCH
"
fi
git push
$GERRITURL
HEAD:refs/for
/
$BRANCH
git push
$GERRITURL
HEAD:refs/
$TYPE
/
$BRANCH
}
case
"
$1
"
in
...
...
@@ -54,11 +55,18 @@ case "$1" in
echo
"subcommands:"
echo
" setup walking you though your gerrit setup"
echo
" test test your gerrit setup"
echo
echo
" --- for submitters:"
echo
" submit [BRANCH] submit your change for review"
echo
" resubmit [BRANCH] create a new Change-Id and submit your change for review"
echo
" (yes, this modifies your last commit)"
echo
" submit-draft [BRANCH] submit your change as draft"
echo
" resubmit-draft [BRANCH] create a new Change-Id and submit your change as draft"
echo
" (yes, this modifies your last commit)"
echo
" (yes, this modifies your last commit)"
echo
" nextchange [BRANCH] reset branch to the remote to start with the next change"
echo
"Note: drafts are only visibly to yourself and those that you explicitly add as reviewers."
echo
echo
" --- for reviewers:"
echo
" checkout CHANGEID checkout the changes for review"
echo
" pull CHANGEID pull (and merge) the changes on current branch"
...
...
@@ -67,6 +75,7 @@ case "$1" in
echo
" review [CHANGEID] interactively review a change (current one if no changeid given)"
echo
" query .... query for changes for review on project core"
echo
" <any other gerrit command>"
echo
echo
"advanced users should consider using git review instead:"
echo
"http://wiki.documentfoundation.org/Development/GitReview"
exit
...
...
@@ -109,11 +118,18 @@ case "$1" in
fi
;;
submit
)
submit
$2
submit
'for'
$2
;;
resubmit
)
git log
-1
--pretty
=
%B |
grep
-v
^Change-Id: | git commit
--amend
-F
-
submit
$2
submit
'for'
$2
;;
submit-draft
)
submit drafts
$2
;;
resubmit-draft
)
git log
-1
--pretty
=
%B |
grep
-v
^Change-Id: | git commit
--amend
-F
-
submit drafts
$2
;;
nextchange
)
if
test
-n
"
`
git status
-s
-uno
`
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment