Discussion:
[Libstoragemgmt-devel] [PATCH 1/2] Git config: Nicer diff output for python scripts.
Gris Ge
2015-03-17 14:50:17 UTC
Permalink
* Without this, 'git diff' don't trace at method level but class level.

* For more detail, please check:

http://stackoverflow.com/questions/2783086/how-does-git-diff-generate-hunk-descriptions

Signed-off-by: Gris Ge <***@redhat.com>
---
.gitattributes | 1 +
1 file changed, 1 insertion(+)
create mode 100644 .gitattributes

diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..95105a3
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+*.py diff=python
--
1.8.3.1
Gris Ge
2015-03-17 14:50:18 UTC
Permalink
* This make sure 'make rpm' generated rpms with newer version number
compare to stable rpms provided by OS.

Signed-off-by: Gris Ge <***@redhat.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 74e6811..db657bb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script.
dnl Copyright (C) 2011 Red Hat, Inc.
dnl See COPYING.LIB for the License of this software

-AC_INIT([libstoragemgmt], [1.1.0], [libstoragemgmt-***@lists.sourceforge.net], [], [http://sourceforge.net/projects/libstoragemgmt/])
+AC_INIT([libstoragemgmt], [1.2.0], [libstoragemgmt-***@lists.sourceforge.net], [], [http://sourceforge.net/projects/libstoragemgmt/])
AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_HEADERS([config.h])
--
1.8.3.1
Loading...