File: git-version.sh

package info (click to toggle)
gstreamer1.0 1.28.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,604 kB
  • sloc: ansic: 203,072; python: 1,985; sh: 566; lex: 188; lisp: 154; java: 81; makefile: 59; cpp: 58; perl: 46
file content (25 lines) | stat: -rwxr-xr-x 556 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash

# display the latest commit in the current branch of all gstreamer modules.
# run this from a directory that contains the checkouts for each of the
# modules

for m in \
  gstreamer gst-plugins-base \
  gst-plugins-good gst-plugins-ugly gst-plugins-bad \
  gst-ffmpeg gst-libav \
  gst-editing-services \
  gst-python gstreamer-sharp \
  gnonlin \
  gst-rtsp-server \
  gst-devtools \
  ; do
  if test -d $m; then
    cd $m
      echo $m
      git branch | grep '*'
      git log | head -n 3 | sed -n '1p;3p'
      echo ""
    cd ..
  fi
done