Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

stg-sink(1) [debian man page]

STG-SINK(1)							   StGit Manual 						       STG-SINK(1)

NAME
stg-sink - Send patches deeper down the stack SYNOPSIS
stg sink [-t <target patch>] [-n] [<patches>] DESCRIPTION
This is the opposite operation of linkstg:float[]: move the specified patches down the stack. It is for example useful to group stable patches near the bottom of the stack, where they are less likely to be impacted by the push of another patch, and from where they can be more easily committed or pushed. If no patch is specified on command-line, the current patch gets sunk. By default patches are sunk to the bottom of the stack, but the --to option allows to place them under any applied patch. Sinking internally involves popping all patches (or all patches including <target patch>), then pushing the patches to sink, and then (unless --nopush is also given) pushing back into place the formerly-applied patches. OPTIONS
-n, --nopush Do not push back on the stack the formerly-applied patches. Only the patches to sink are pushed. -t TARGET, --to TARGET Specify a target patch to place the patches below, instead of sinking them to the bottom of the stack. -k, --keep Keep the local changes. STGIT
Part of the StGit suite - see linkman:stg[1] StGit 03/13/2012 STG-SINK(1)

Check Out this Related Man Page

STG-EXPORT(1)							   StGit Manual 						     STG-EXPORT(1)

NAME
stg-export - Export patches to a directory SYNOPSIS
stg export [options] [<patch1>] [<patch2>] [<patch3>..<patch4>] DESCRIPTION
Export a range of applied patches to a given directory (defaults to patches-<branch>) in a standard unified GNU diff format. A template file (defaulting to .git/patchexport.tmpl or ~/.stgit/templates/patchexport.tmpl or /usr/share/stgit/templates/patchexport.tmpl) can be used for the patch format. The following variables are supported in the template file: %(description)s - patch description %(shortdescr)s - the first line of the patch description %(longdescr)s - the rest of the patch description, after the first line %(diffstat)s - the diff statistics %(authname)s - author's name %(authemail)s - author's e-mail %(authdate)s - patch creation date %(commname)s - committer's name %(commemail)s - committer's e-mail OPTIONS
-d DIR, --dir DIR Export patches to DIR instead of the default. -p, --patch Append .patch to the patch names. -e EXTENSION, --extension EXTENSION Append .EXTENSION to the patch names. -n, --numbered Prefix the patch names with order numbers. -t FILE, --template FILE Use FILE as a template. -b BRANCH, --branch BRANCH Use BRANCH instead of the default branch. -s, --stdout Dump the patches to the standard output. -O OPTIONS, --diff-opts OPTIONS Extra options to pass to "git diff". STGIT
Part of the StGit suite - see linkman:stg[1] StGit 03/13/2012 STG-EXPORT(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Solaris Package Manager problem

i'm trying to run Patch Manager, but i'm getting the following problem when i try and run "pprosvc" with either the -l, -d, or -i options. Assessing patches needed for your system...... (8 Replies)
Discussion started by: xyyz
8 Replies

2. Solaris

Installing patches

I'm attempting to install a Sun patch and keep getting an error: # patchadd /tmp/patches/110722-03 Checking installed patches... One or more patch packages included in 110722-03 are not installed on this system. Patchadd is terminating. # How can I find out what are the "One or... (7 Replies)
Discussion started by: FredSmith
7 Replies

3. HP-UX

Patch Installation Problems

Hi people: I am having trouble installing some HPUX patches on my 11.00. I am a novice :confused: at this so bear with me. I do not understand how to install depots. Now I'm trying to patch my system so I can get the Oracle client installed. Oracle says I need these two patches:... (5 Replies)
Discussion started by: RAFA
5 Replies

4. UNIX for Dummies Questions & Answers

How to add patches to solaris 10?

I am seeking help to add patches to Sloris 10 on 64 bit Sparc server. This is to prepare the server for the installation of oracle 10g. Please list command and the directory (If needed). Thanks. (7 Replies)
Discussion started by: duke0001
7 Replies

5. HP-UX

Legato networker on hp-ux

Hello, Firstable I am new on hp-ux (well long time ago) I am more aix admin.... Legato networker is the tool backup use on the hp-ux. I don't know this tool and would like to know where to find some docs or training. My first question will be : when a system (hp-ux B.11.0) is backuped on a... (8 Replies)
Discussion started by: touny
8 Replies

6. Solaris

Any patches for SunOS 5.11?

I need patch against the I_PEEK Local Kernel memory Leak Exploit But i'm unable to find any patches for Solaris 5.11, and smpatch is no longer supported... So, do you have any suggestions how to patch my system? Thanks. (4 Replies)
Discussion started by: static
4 Replies

7. UNIX for Dummies Questions & Answers

Security or Necessary patches

Hi All, I would like to ask some questions, I have an Solaris 10 and RHEL which is install in separate machine.. The question is: 1. how can I check the latest patches or latest update in my machine? (I need a step or command) 2. where can I get the latest security patch or necessary patch... (5 Replies)
Discussion started by: flekzout
5 Replies

8. Solaris

patchadd command

# patchadd /Desktop/117837-08.jar Validating patches... Loading patches installed on the system... Done! Loading patches requested to install. Done! The following requested patches have packages not installed on the system Package SPROcc from directory SPROcc in patch 117837-08 is... (19 Replies)
Discussion started by: seyiisq
19 Replies

9. Solaris

Problem with patch bundle installation on Solairs 10

:mad: :mad: Hello, Could some help me to resolve why i am geting the below errors... :( Just tried installing patch bundle on solairs 10. many patches are been failed. wen i am trying to install it manualy i am geting the below errors.. ... (8 Replies)
Discussion started by: bullz26
8 Replies

10. Shell Programming and Scripting

For Loop help with patchrm Solaris 10

Hello all looking to write a for loop to remove patches in the /var/sadm/patch directory. So far this is what i have: #! /bin/sh cd /var/sadm/patch ls -l | awk '{print $9}' > patches /usr/bin/sort -r patches > patches_r for i in 'cat patches_r' do echo "going to remove... (6 Replies)
Discussion started by: caddyjoe77
6 Replies

11. AIX

command to list all installed patches

hi all i need an command to list all installed patches in aix 5.3 (5 Replies)
Discussion started by: maxim42
5 Replies

12. Solaris

10 Recommended Patch Not Working

Hello, The 10_Recommended update failed on 3 of 191, which was patch 119254-73 (the 1st 2 patches were skipped). I looked up the patch on Sunsolve (http://sunsolve.sun.com/search/document.do?assetkey=1-21-119254), which stated that 121133-02 was a required patch for 119254-73. I did a "showrev... (7 Replies)
Discussion started by: stringman
7 Replies

13. Shell Programming and Scripting

parsing comma separated file

Hi, I have a file with th elist of patches separated by comma, like below: patch1, patch 2, patch 3................ t\The number of patches is not known as it changes every time. I need assistance in writing a routine such as it will take patch1 as first variable and performs the... (4 Replies)
Discussion started by: avikaljain
4 Replies

14. Shell Programming and Scripting

Manipulate file

Hi Guys, I have a file that lists patches along with other information. The patches are listed in two different formats. One format lists the latest patch, date , installed patch Latest Patch Date IN 148412-02 13-Sep-2012 -- X X SunOS 5.10: nss_dns patch 126206-10 ... (5 Replies)
Discussion started by: Tornado
5 Replies

15. Red Hat

How do I install security patches with no internet access?

Hi, I'm pretty new to Linux and I want to download security patches and install them on RHEL 5.4. I've searched the red hat web site but cant seem to find where the download link is. (5 Replies)
Discussion started by: Jardoo
5 Replies