Can dependency on /bin/sh be removed?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm looking at putting together minimal images to run git.  In order
to make gitcredentials to work (git config credential.helper) the
image needs a /bin/sh.

I realize there are many workflows that are going to need a shell, but
it does not seem like it should be required in order to handle a
gitconfig like:

  [credential-helper]
  helper = /bin/myhelper

In that case, the shell is only being used to tokenize 'myhelper get'.

Is there a solution that I'm missing here?

Would upstream be open to some modifier on the helper value that would
indicate "do not pass to shell" ? Like a '@' to indicate "direct
invoke" rather than letting shell handle?

  [credential-helper]
  helper = @/bin/myhelper

Scott




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux