[ET Trac] [Einstein Toolkit] #615: updating git repositories fails for git version 1.6.5.3

Einstein Toolkit trac-noreply at einsteintoolkit.org
Tue Oct 18 22:26:19 CDT 2011


#615: updating git repositories fails for git version 1.6.5.3
----------------------------+-----------------------------------------------
  Reporter:  rhaas          |       Owner:  eric9     
      Type:  defect         |      Status:  review    
  Priority:  major          |   Milestone:  ET_2011_10
 Component:  GetComponents  |     Version:            
Resolution:                 |    Keywords:            
----------------------------+-----------------------------------------------

Comment (by anonymous):

 I didn't know that git offered a stable interface. Very nice.

 --short does not exist either. This is on bethe (git 1.6.5.3):
 {{{
 [rhaas at bethe CRL]$ git status --short
 error: unknown option `short'
 usage: git status [options] [--] <filepattern>...

     -q, --quiet           be quiet
     -v, --verbose         be verbose

 Commit message options
     -F, --file <FILE>     read log from file
     --author <AUTHOR>     override author for commit
     -m, --message <MESSAGE>
                           specify commit message
     -c, --reedit-message <COMMIT>
                           reuse and edit message from specified commit
     -C, --reuse-message <COMMIT>
                           reuse message from specified commit
     -s, --signoff         add Signed-off-by:
     -t, --template <FILE>
                           use specified template file
     -e, --edit            force edit of commit

 Commit contents options
     -a, --all             commit all changed files
     -i, --include         add specified files to index for commit
     --interactive         interactively add files
     -o, --only            commit only specified files
     -n, --no-verify       bypass pre-commit hook
     --dry-run             show what would be committed
     --amend               amend previous commit
     -u, --untracked-files[=<mode>]
                           show untracked files, optional modes: all,
 normal, no. (Default: all)
     --allow-empty         ok to record an empty change
     --cleanup <default>   how to strip spaces and #comments from message

 }}}

 There is a discussion on this on stackoverflow:
 http://stackoverflow.com/questions/2657935/checking-for-a-dirty-index-or-
 untracked-files-with-git and point 26 seems to suggest to use
 {{{
 git diff-files --quiet
 }}}
 and to check its return value. That seems to work on bethe for me.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/615#comment:7>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list