pastebin - collaborative debugging tool
eckelmann.kpaste.net RSS


geht nit
Posted by Anonymous on Wed 24th Mar 2021 14:12
raw | new post
view followups (newest first): geht trotzdem nit by Anonymous

  1. is_layer ()
  2. {
  3.         local values
  4.         local name
  5.         if is_tree $1; then
  6.                 git cat-file -p $1 | \
  7.                 while read i
  8.                 do
  9.                         values=($i)
  10.                         name=${values[3]}
  11.                         if [ "$name" = "base" ]; then
  12.                                 echo "found base"
  13.                                 return 0
  14.                         fi
  15.                 done
  16.         fi
  17.         echo "Reached end"
  18.         return 1
  19. }

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at